Fix 32-bit build.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Nov 2015 00:36:14 +0000 (00:36 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Nov 2015 00:36:14 +0000 (00:36 +0000)
* Shared/API/Cocoa/RemoteObjectRegistry.mm:
(WebKit::RemoteObjectRegistry::callReplyBlock):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@192189 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/API/Cocoa/RemoteObjectRegistry.mm

index 77e089f..8c27e29 100644 (file)
@@ -1,5 +1,12 @@
 2015-11-09  Anders Carlsson  <andersca@apple.com>
 
+        Fix 32-bit build.
+
+        * Shared/API/Cocoa/RemoteObjectRegistry.mm:
+        (WebKit::RemoteObjectRegistry::callReplyBlock):
+
+2015-11-09  Anders Carlsson  <andersca@apple.com>
+
         Add reply blocks to _WKRemoteObjectInterface similar to NSXPCConnection
         https://bugs.webkit.org/show_bug.cgi?id=151056
         rdar://problem/23222609
index c591fb3..a53ab98 100644 (file)
@@ -63,7 +63,9 @@ void RemoteObjectRegistry::invokeMethod(const RemoteObjectInvocation& invocation
 
 void RemoteObjectRegistry::callReplyBlock(uint64_t replyID, const UserData& blockInvocation)
 {
+#if WK_API_ENABLED
     [m_remoteObjectRegistry _callReplyWithID:replyID blockInvocation:blockInvocation];
+#endif
 }
 
 } // namespace WebKit