| Index: ios/web/test/test_web_thread_bundle.cc
|
| diff --git a/ios/web/test/test_web_thread_bundle.cc b/ios/web/test/test_web_thread_bundle.cc
|
| index 14eb65608d7ef4ecd7759f744806eec77e5f82fa..e6d776e4a977dd10b9bb05035681c117c42ea48f 100644
|
| --- a/ios/web/test/test_web_thread_bundle.cc
|
| +++ b/ios/web/test/test_web_thread_bundle.cc
|
| @@ -8,7 +8,6 @@
|
| #include "base/message_loop/message_loop.h"
|
| #include "base/run_loop.h"
|
| #include "base/test/scoped_async_task_scheduler.h"
|
| -#include "base/test/scoped_task_scheduler.h"
|
| #include "ios/web/public/test/test_web_thread.h"
|
| #include "ios/web/web_thread_impl.h"
|
|
|
| @@ -53,7 +52,6 @@ TestWebThreadBundle::~TestWebThreadBundle() {
|
| base::RunLoop().RunUntilIdle();
|
|
|
| scoped_async_task_scheduler_.reset();
|
| - scoped_task_scheduler_.reset();
|
| }
|
|
|
| void TestWebThreadBundle::Init(int options) {
|
| @@ -65,13 +63,8 @@ void TestWebThreadBundle::Init(int options) {
|
|
|
| ui_thread_.reset(new TestWebThread(WebThread::UI, message_loop_.get()));
|
|
|
| - if (options & REAL_TASK_SCHEDULER) {
|
| - scoped_async_task_scheduler_ =
|
| - base::MakeUnique<base::test::ScopedAsyncTaskScheduler>();
|
| - } else {
|
| - scoped_task_scheduler_ =
|
| - base::MakeUnique<base::test::ScopedTaskScheduler>(message_loop_.get());
|
| - }
|
| + scoped_async_task_scheduler_ =
|
| + base::MakeUnique<base::test::ScopedAsyncTaskScheduler>();
|
|
|
| if (options & TestWebThreadBundle::REAL_DB_THREAD) {
|
| db_thread_.reset(new TestWebThread(WebThread::DB));
|
|
|