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.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/tools/test_shell/run_all_tests.cc b/webkit/tools/test_shell/run_all_tests.cc
index 2b69707..2277c2a 100644
--- a/webkit/tools/test_shell/run_all_tests.cc
+++ b/webkit/tools/test_shell/run_all_tests.cc
@@ -71,12 +71,12 @@ int main(int argc, char* argv[]) {
// request than automatically quit.
TestShell::InitializeTestShell(true);
- // 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.
- MessageLoop main_message_loop;
+ MessageLoopForUI main_message_loop;
+
+ // Initialize WebKit for this scope.
+ TestShellWebKitInit test_shell_webkit_init(true);
// Load ICU data tables
icu_util::Initialize();