summaryrefslogtreecommitdiff
path: root/Tools/TestWebKitAPI/InjectedBundleMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/TestWebKitAPI/InjectedBundleMain.cpp')
-rw-r--r--Tools/TestWebKitAPI/InjectedBundleMain.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/Tools/TestWebKitAPI/InjectedBundleMain.cpp b/Tools/TestWebKitAPI/InjectedBundleMain.cpp
index b2537f737..8ad6c2bad 100644
--- a/Tools/TestWebKitAPI/InjectedBundleMain.cpp
+++ b/Tools/TestWebKitAPI/InjectedBundleMain.cpp
@@ -24,11 +24,8 @@
*/
#include "config.h"
-
-#if WK_HAVE_C_SPI
-
#include "InjectedBundleController.h"
-#include <WebKit/WKBundleInitialize.h>
+#include <WebKit2/WKBundleInitialize.h>
#if defined(WIN32) || defined(_WIN32)
extern "C" __declspec(dllexport)
@@ -37,7 +34,5 @@ extern "C"
#endif
void WKBundleInitialize(WKBundleRef bundle, WKTypeRef initializationUserData)
{
- TestWebKitAPI::InjectedBundleController::singleton().initialize(bundle, initializationUserData);
+ TestWebKitAPI::InjectedBundleController::shared().initialize(bundle, initializationUserData);
}
-
-#endif