Index: content/browser/in_process_webkit/webkit_context_unittest.cc |
diff --git a/content/browser/in_process_webkit/webkit_context_unittest.cc b/content/browser/in_process_webkit/webkit_context_unittest.cc |
index b11216dc70729ad511faefa7ce52a9f0fff4a9e3..9490a9c3cc133154cc64a3e87f6bbe0e13637185 100644 |
--- a/content/browser/in_process_webkit/webkit_context_unittest.cc |
+++ b/content/browser/in_process_webkit/webkit_context_unittest.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "chrome/test/testing_browser_process.h" |
#include "chrome/test/testing_profile.h" |
#include "content/browser/browser_thread.h" |
#include "content/browser/in_process_webkit/dom_storage_context.h" |
@@ -29,6 +30,7 @@ class MockDOMStorageContext : public DOMStorageContext { |
}; |
TEST(WebKitContextTest, Basic) { |
+ ScopedTestingBrowserProcess browser_process; |
TestingProfile profile; |
scoped_refptr<WebKitContext> context1(new WebKitContext( |
profile.IsOffTheRecord(), profile.GetPath(), |
@@ -46,6 +48,8 @@ TEST(WebKitContextTest, Basic) { |
} |
TEST(WebKitContextTest, PurgeMemory) { |
+ ScopedTestingBrowserProcess browser_process; |
+ |
// Start up a WebKit thread for the WebKitContext to call the |
// DOMStorageContext on. |
MessageLoop message_loop(MessageLoop::TYPE_DEFAULT); |