| 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 f03cbef4220badd98705b0b15c9c087de53d01e4..affe29fd5edcb35d65fb9ae0fc457838480fd8f4 100644
|
| --- a/content/browser/in_process_webkit/webkit_context_unittest.cc
|
| +++ b/content/browser/in_process_webkit/webkit_context_unittest.cc
|
| @@ -2,12 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "content/browser/browser_thread_impl.h"
|
| #include "content/browser/in_process_webkit/dom_storage_context.h"
|
| #include "content/browser/in_process_webkit/webkit_context.h"
|
| #include "content/test/test_browser_context.h"
|
| -#include "content/test/test_browser_thread.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| +using content::BrowserThreadImpl;
|
| +
|
| class MockDOMStorageContext : public DOMStorageContext {
|
| public:
|
| MockDOMStorageContext(WebKitContext* webkit_context,
|
| @@ -47,8 +49,7 @@ TEST(WebKitContextTest, PurgeMemory) {
|
| // Start up a WebKit thread for the WebKitContext to call the
|
| // DOMStorageContext on.
|
| MessageLoop message_loop(MessageLoop::TYPE_DEFAULT);
|
| - content::TestBrowserThread webkit_thread(BrowserThread::WEBKIT,
|
| - &message_loop);
|
| + BrowserThreadImpl webkit_thread(BrowserThread::WEBKIT, &message_loop);
|
|
|
| {
|
| // Create the contexts.
|
|
|