Bug 125266

Summary: [Cocoa] Make WKConnection work with WKObject wrapping
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mitz: review+

Description Sam Weinig 2013-12-04 16:57:45 PST
[Cocoa] Make WKConnection work with WKObject wrapping
Comment 1 Sam Weinig 2013-12-04 16:58:02 PST
Created attachment 218471 [details]
Patch
Comment 2 mitz 2013-12-04 17:02:08 PST
Comment on attachment 218471 [details]
Patch

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

> Source/WebKit2/UIProcess/API/Cocoa/WKConnection.mm:111
> +        _remoteObjectRegistry = adoptNS([[WKRemoteObjectRegistry alloc] _initWithConnectionRef:toAPI(_connection.get())]);

We should change the internal WKRemoteObjectRegistry initializer to take a WebConnection&.
Comment 3 Sam Weinig 2013-12-04 17:40:55 PST
Committed r160148: <http://trac.webkit.org/changeset/160148>