| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 8f6909b77627650af6b10479f3072ec5c2eb11fb..a184440ccc115f4c53ab16bbd785b805da279b7e 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -915,16 +915,14 @@ int BrowserMainLoop::CreateThreads() {
|
| }
|
|
|
| int BrowserMainLoop::PreMainMessageLoopRun() {
|
| -#if defined(MOJO_SHELL_CLIENT)
|
| if (IsRunningInMojoShell()) {
|
| MojoShellConnectionImpl::Create();
|
| MojoShellConnectionImpl::Get()->BindToCommandLinePlatformChannel();
|
| -#if defined(USE_AURA)
|
| +#if defined(MOJO_SHELL_CLIENT) && defined(USE_AURA)
|
| views::WindowManagerConnection::Create(
|
| MojoShellConnection::Get()->GetShell());
|
| #endif
|
| }
|
| -#endif
|
|
|
| if (parts_) {
|
| TRACE_EVENT0("startup",
|
|
|