Index: services/shell/standalone/context.cc |
diff --git a/services/shell/standalone/context.cc b/services/shell/standalone/context.cc |
index 03c4062ce85c07dea824b6f3086617bb15bc4ee0..7a15ce714dd66eedc1d0f756fb08e9bbb2fc554b 100644 |
--- a/services/shell/standalone/context.cc |
+++ b/services/shell/standalone/context.cc |
@@ -219,7 +219,7 @@ void Context::Shutdown() { |
TRACE_EVENT0("mojo_shell", "Context::Shutdown"); |
// Post a task in case OnShutdownComplete is called synchronously. |
- base::MessageLoop::current()->task_runner()->PostTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::Bind(mojo::edk::ShutdownIPCSupport)); |
// We'll quit when we get OnShutdownComplete(). |
base::RunLoop().Run(); |