Commit 3f46679b authored by andersca@apple.com's avatar andersca@apple.com

More build fixes.

* UIProcess/API/mac/WKBrowsingContextController.mm:
* UIProcess/API/mac/WKConnection.mm:
(didReceiveMessage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3df9f6e3
2013-11-08 Anders Carlsson <andersca@apple.com>
More build fixes.
* UIProcess/API/mac/WKBrowsingContextController.mm:
* UIProcess/API/mac/WKConnection.mm:
(didReceiveMessage):
2013-11-08 Anders Carlsson <andersca@apple.com>
More build fixes.
......
......@@ -457,11 +457,15 @@ static void releaseNSData(unsigned char*, const void* data)
return WKPageGetPageCount(self._pageRef);
}
#if WK_API_ENABLED
- (WKBrowsingContextHandle *)handle
{
return [[[WKBrowsingContextHandle alloc] _initWithPageID:toImpl(self._pageRef)->pageID()] autorelease];
}
#endif
@end
@implementation WKBrowsingContextController (Internal)
......
......@@ -99,8 +99,9 @@ using namespace WebKit;
static void didReceiveMessage(WKConnectionRef, WKStringRef messageName, WKTypeRef messageBody, const void* clientInfo)
{
#if WK_API_ENABLED
WKConnection *connection = (WKConnection *)clientInfo;
#if WK_API_ENABLED
if ([connection->_data->_remoteObjectRegistry _handleMessageWithName:messageName body:messageBody])
return;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment