Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 1f77258d8df738cac0a5efbef2df7b78dd3e1711..03ec04cb42fa721a025e817c1a76c876763bff1d 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -1171,9 +1171,11 @@ int BrowserMainLoop::BrowserThreadsStarted() { |
MojoShellConnectionImpl::Get()->BindToRequestFromCommandLine(); |
} |
#if defined(MOJO_SHELL_CLIENT) && defined(USE_AURA) |
- if (MojoShellConnection::Get()) { |
+ MojoShellConnection* mojo_shell_connection = MojoShellConnection::Get(); |
+ if (mojo_shell_connection) { |
views::WindowManagerConnection::Create( |
- MojoShellConnection::Get()->GetConnector()); |
+ mojo_shell_connection->GetConnector(), |
+ mojo_shell_connection->GetIdentity()); |
} |
#endif |
} |