| Index: chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/download_protection_service_unittest.cc b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| index eee257605c41975c25af6db9c2d0516c26379f21..830a9d4461b43b643dd3dd313cea61500d93d3e8 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
|
| @@ -26,7 +26,7 @@
|
| #include "base/sha1.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/strings/string_number_conversions.h"
|
| -#include "base/threading/sequenced_worker_pool.h"
|
| +#include "base/task_scheduler/task_scheduler.h"
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "chrome/browser/history/history_service_factory.h"
|
| #include "chrome/browser/safe_browsing/download_feedback_service.h"
|
| @@ -353,7 +353,7 @@ class DownloadProtectionServiceTest : public testing::Test {
|
|
|
| // Flushes any pending tasks in the message loops of all threads.
|
| void FlushThreadMessageLoops() {
|
| - BrowserThread::GetBlockingPool()->FlushForTesting();
|
| + base::TaskScheduler::GetInstance()->FlushForTesting();
|
| FlushMessageLoop(BrowserThread::IO);
|
| RunLoop().RunUntilIdle();
|
| }
|
|
|