| Index: content/browser/site_instance_impl_unittest.cc
|
| diff --git a/content/browser/site_instance_impl_unittest.cc b/content/browser/site_instance_impl_unittest.cc
|
| index 2523cfc34799977f20dfeb6098aac3477236cd73..043085b8c586d358677e5f12f6244ba0e025f033 100644
|
| --- a/content/browser/site_instance_impl_unittest.cc
|
| +++ b/content/browser/site_instance_impl_unittest.cc
|
| @@ -28,7 +28,7 @@
|
| #include "content/public/common/url_utils.h"
|
| #include "content/public/test/mock_render_process_host.h"
|
| #include "content/public/test/test_browser_context.h"
|
| -#include "content/public/test/test_browser_thread.h"
|
| +#include "content/public/test/test_browser_thread_bundle.h"
|
| #include "content/public/test/test_utils.h"
|
| #include "content/test/test_content_browser_client.h"
|
| #include "content/test/test_content_client.h"
|
| @@ -95,12 +95,7 @@ class SiteInstanceTestBrowserClient : public TestContentBrowserClient {
|
|
|
| class SiteInstanceTest : public testing::Test {
|
| public:
|
| - SiteInstanceTest()
|
| - : ui_thread_(BrowserThread::UI, &message_loop_),
|
| - file_user_blocking_thread_(BrowserThread::FILE_USER_BLOCKING,
|
| - &message_loop_),
|
| - io_thread_(BrowserThread::IO, &message_loop_),
|
| - old_browser_client_(nullptr) {}
|
| + SiteInstanceTest() : old_browser_client_(nullptr) {}
|
|
|
| void SetUp() override {
|
| old_browser_client_ = SetBrowserClientForTesting(&browser_client_);
|
| @@ -143,10 +138,7 @@ class SiteInstanceTest : public testing::Test {
|
| SiteInstanceTestBrowserClient* browser_client() { return &browser_client_; }
|
|
|
| private:
|
| - base::MessageLoopForUI message_loop_;
|
| - TestBrowserThread ui_thread_;
|
| - TestBrowserThread file_user_blocking_thread_;
|
| - TestBrowserThread io_thread_;
|
| + TestBrowserThreadBundle test_browser_thread_bundle_;
|
|
|
| SiteInstanceTestBrowserClient browser_client_;
|
| ContentBrowserClient* old_browser_client_;
|
|
|