Title: [158949] trunk/Source/WebKit2
- Revision
- 158949
- Author
- ander...@apple.com
- Date
- 2013-11-08 13:35:58 -0800 (Fri, 08 Nov 2013)
Log Message
More build fixes.
* UIProcess/API/mac/WKBrowsingContextController.mm:
* UIProcess/API/mac/WKConnection.mm:
(didReceiveMessage):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (158948 => 158949)
--- trunk/Source/WebKit2/ChangeLog 2013-11-08 21:22:56 UTC (rev 158948)
+++ trunk/Source/WebKit2/ChangeLog 2013-11-08 21:35:58 UTC (rev 158949)
@@ -2,6 +2,14 @@
More build fixes.
+ * UIProcess/API/mac/WKBrowsingContextController.mm:
+ * UIProcess/API/mac/WKConnection.mm:
+ (didReceiveMessage):
+
+2013-11-08 Anders Carlsson <ander...@apple.com>
+
+ More build fixes.
+
* UIProcess/API/mac/WKConnection.h:
* UIProcess/API/mac/WKConnection.mm:
(didReceiveMessage):
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm (158948 => 158949)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm 2013-11-08 21:22:56 UTC (rev 158948)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm 2013-11-08 21:35:58 UTC (rev 158949)
@@ -457,11 +457,15 @@
return WKPageGetPageCount(self._pageRef);
}
+#if WK_API_ENABLED
+
- (WKBrowsingContextHandle *)handle
{
return [[[WKBrowsingContextHandle alloc] _initWithPageID:toImpl(self._pageRef)->pageID()] autorelease];
}
+#endif
+
@end
@implementation WKBrowsingContextController (Internal)
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKConnection.mm (158948 => 158949)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKConnection.mm 2013-11-08 21:22:56 UTC (rev 158948)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKConnection.mm 2013-11-08 21:35:58 UTC (rev 158949)
@@ -99,8 +99,9 @@
static void didReceiveMessage(WKConnectionRef, WKStringRef messageName, WKTypeRef messageBody, const void* clientInfo)
{
+ WKConnection *connection = (WKConnection *)clientInfo;
+
#if WK_API_ENABLED
- WKConnection *connection = (WKConnection *)clientInfo;
if ([connection->_data->_remoteObjectRegistry _handleMessageWithName:messageName body:messageBody])
return;
#endif
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes