Try to fix the 32-bit build.
* TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm:
* TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index 64a7964..0382cf4 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,5 +1,12 @@
2013-10-30 Anders Carlsson <andersca@apple.com>
+ Try to fix the 32-bit build.
+
+ * TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm:
+ * TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm:
+
+2013-10-30 Anders Carlsson <andersca@apple.com>
+
Begin fleshing out an API test for WKRemoteObjectRegistry
https://bugs.webkit.org/show_bug.cgi?id=123531
diff --git a/Tools/TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm b/Tools/TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm
index 8d622e5..4981991 100644
--- a/Tools/TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm
+++ b/Tools/TestWebKitAPI/Tests/WebKit2ObjC/WKRemoteObjectRegistry.mm
@@ -33,6 +33,8 @@
#import <WebKit2/WKRemoteObjectInterface.h>
#import <WebKit2/WKRemoteObjectRegistryPrivate.h>
+#if WK_API_ENABLED
+
namespace TestWebKitAPI {
static bool connectionEstablished;
@@ -98,3 +100,6 @@
}
} // namespace TestWebKitAPI
+
+#endif // WK_API_ENABLED
+
diff --git a/Tools/TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm b/Tools/TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm
index 56ce514..62f67d6 100644
--- a/Tools/TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm
+++ b/Tools/TestWebKitAPI/Tests/mac/WKRemoteObjectRegistry_Bundle.mm
@@ -28,6 +28,8 @@
#include "PlatformUtilities.h"
#include <WebKit2/WKRetainPtr.h>
+#if WK_API_ENABLED
+
namespace TestWebKitAPI {
/* WKConnectionClient */
@@ -57,3 +59,5 @@
static InjectedBundleTest::Register<WKRemoteObjectRegistryTest> registrar("WKRemoteObjectRegistry");
} // namespace TestWebKitAPI
+
+#endif // WK_API_ENABLED