| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 65e88aced2e3117ad82bb6682e2fccfdfa859280..41ca90311171e899402f245463865e9eb61b0344 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -969,9 +969,6 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() {
|
| base::Bind(base::IgnoreResult(&base::ThreadRestrictions::SetIOAllowed),
|
| true));
|
|
|
| - if (IsRunningInMojoShell())
|
| - MojoShellConnection::Destroy();
|
| -
|
| if (RenderProcessHost::run_renderer_in_process())
|
| RenderProcessHostImpl::ShutDownInProcessRenderer();
|
|
|
| @@ -981,6 +978,9 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() {
|
| parts_->PostMainMessageLoopRun();
|
| }
|
|
|
| + if (IsRunningInMojoShell())
|
| + MojoShellConnection::Destroy();
|
| +
|
| #if defined(USE_AURA)
|
| env_.reset();
|
| #endif
|
|
|