Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Unified Diff: webkit/tools/test_shell/run_all_tests.cc

Issue 27222: Chrome side to implement WebMimeRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/tools/test_shell/run_all_tests.cc
===================================================================
--- webkit/tools/test_shell/run_all_tests.cc (revision 10468)
+++ webkit/tools/test_shell/run_all_tests.cc (working copy)
@@ -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 @@
// 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.

Powered by Google App Engine
This is Rietveld 408576698