Bug 79612

Summary: Encapsulate uses of WKSI to setup a remote layer into a new RemoteLayerClient class
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Description Sam Weinig 2012-02-26 18:36:09 PST
Refactor uses of WKSI to setup a remote layer into a new RemoteLayerClient class
Comment 1 Sam Weinig 2012-02-26 18:40:31 PST
Created attachment 128938 [details]
Patch
Comment 2 Anders Carlsson 2012-02-26 18:45:13 PST
Comment on attachment 128938 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=128938&action=review

> Source/WebKit2/Platform/mac/RemoteLayerClient.h:45
> +class RemoteLayerClient : public RefCounted<RemoteLayerClient> {

I don't think this needs to be refcounted. Just make it noncopyable and use OwnPtr instead of RefPtr.
Comment 3 Sam Weinig 2012-02-26 19:12:47 PST
Committed r108946: <http://trac.webkit.org/changeset/108946>