summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/run_all_tests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/run_all_tests.cc')
-rw-r--r--webkit/tools/test_shell/run_all_tests.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/run_all_tests.cc b/webkit/tools/test_shell/run_all_tests.cc
index 579338b..df6a1ae 100644
--- a/webkit/tools/test_shell/run_all_tests.cc
+++ b/webkit/tools/test_shell/run_all_tests.cc
@@ -23,6 +23,7 @@
#include "webkit/tools/test_shell/test_shell.h"
#include "webkit/tools/test_shell/test_shell_platform_delegate.h"
#include "webkit/tools/test_shell/test_shell_test.h"
+#include "webkit/tools/test_shell/test_shell_webkit_init.h"
#include "testing/gtest/include/gtest/gtest.h"
const char* TestShellTest::kJavascriptDelayExitScript =
@@ -61,7 +62,8 @@ int main(int argc, char* argv[]) {
// request than automatically quit.
TestShell::InitializeTestShell(true);
- webkit_glue::InitializeForTesting();
+ // Initialize WebKit for this scope.
+ TestShellWebKitInit test_shell_webkit_init(true);
// Allocate a message loop for this thread. Although it is not used
// directly, its constructor sets up some necessary state.