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