summaryrefslogtreecommitdiff
path: root/Tools/TestWebKitAPI/InjectedBundleController.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2015-05-20 09:56:07 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2015-05-20 09:56:07 +0000
commit41386e9cb918eed93b3f13648cbef387e371e451 (patch)
treea97f9d7bd1d9d091833286085f72da9d83fd0606 /Tools/TestWebKitAPI/InjectedBundleController.cpp
parente15dd966d523731101f70ccf768bba12435a0208 (diff)
downloadWebKitGtk-tarball-41386e9cb918eed93b3f13648cbef387e371e451.tar.gz
webkitgtk-2.4.9webkitgtk-2.4.9
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