Index: content/browser/service_worker/service_worker_url_request_job_unittest.cc |
diff --git a/content/browser/service_worker/service_worker_url_request_job_unittest.cc b/content/browser/service_worker/service_worker_url_request_job_unittest.cc |
index 690154c23ea88576ed89108ba36da479309351b7..a364b8ab9e02219ada40b4407481508966cda4dd 100644 |
--- a/content/browser/service_worker/service_worker_url_request_job_unittest.cc |
+++ b/content/browser/service_worker/service_worker_url_request_job_unittest.cc |
@@ -13,7 +13,6 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
#include "base/memory/ptr_util.h" |
-#include "base/message_loop/message_loop.h" |
#include "base/run_loop.h" |
#include "base/single_thread_task_runner.h" |
#include "base/threading/thread_task_runner_handle.h" |
@@ -308,7 +307,7 @@ class ServiceWorkerURLRequestJobTest |
// Simulate another worker kicking out the incumbent worker. PostTask since |
// it might respond synchronously, and the MockURLRequestDelegate would |
// complain that the message loop isn't being run. |
- base::MessageLoop::current()->task_runner()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::Bind(&ServiceWorkerVersion::SetStatus, version_, |
ServiceWorkerVersion::REDUNDANT)); |
base::RunLoop().RunUntilIdle(); |