summaryrefslogtreecommitdiff
path: root/Tools/TestWebKitAPI/InjectedBundleController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/TestWebKitAPI/InjectedBundleController.cpp')
-rw-r--r--Tools/TestWebKitAPI/InjectedBundleController.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/Tools/TestWebKitAPI/InjectedBundleController.cpp b/Tools/TestWebKitAPI/InjectedBundleController.cpp
index 53f39a874..00b534b0e 100644
--- a/Tools/TestWebKitAPI/InjectedBundleController.cpp
+++ b/Tools/TestWebKitAPI/InjectedBundleController.cpp
@@ -24,9 +24,6 @@
*/
#include "config.h"
-
-#if WK_HAVE_C_SPI
-
#include "InjectedBundleController.h"
#include "InjectedBundleTest.h"
@@ -36,7 +33,7 @@
namespace TestWebKitAPI {
-InjectedBundleController& InjectedBundleController::singleton()
+InjectedBundleController& InjectedBundleController::shared()
{
static InjectedBundleController& shared = *new InjectedBundleController;
return shared;
@@ -141,5 +138,3 @@ void InjectedBundleController::registerCreateInjectedBundleTestFunction(const st
}
} // namespace TestWebKitAPI
-
-#endif