Index: components/arc/arc_bridge_service_impl.cc |
diff --git a/components/arc/arc_bridge_service_impl.cc b/components/arc/arc_bridge_service_impl.cc |
index 93f42b183013e461537e5fed81525d28248ca6cf..4cf543f912ee1bdf0c9648a0b092202553e7bf1c 100644 |
--- a/components/arc/arc_bridge_service_impl.cc |
+++ b/components/arc/arc_bridge_service_impl.cc |
@@ -9,7 +9,6 @@ |
#include "base/command_line.h" |
#include "base/json/json_writer.h" |
-#include "base/message_loop/message_loop.h" |
#include "base/sequenced_task_runner.h" |
#include "base/sys_info.h" |
#include "base/task_runner_util.h" |
@@ -148,7 +147,7 @@ void ArcBridgeServiceImpl::OnStopped(StopReason stop_reason) { |
// Instead of immediately trying to restart the container, give it some |
// time to finish tearing down in case it is still in the process of |
// stopping. |
- base::MessageLoop::current()->task_runner()->PostDelayedTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( |
FROM_HERE, base::Bind(&ArcBridgeServiceImpl::PrerequisitesChanged, |
weak_factory_.GetWeakPtr()), |
base::TimeDelta::FromSeconds(kReconnectDelayInSeconds)); |