Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index db8ea8df06362fdb66b750745d0f3925c0e59e1e..85f4256f362e0975226fa6843fb71f45d6b00010 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -283,8 +283,8 @@ static void SetUpGLibLogHandler() { |
void WaitForMojoShellInitialize() { |
// TODO(rockot): Remove this. http://crbug.com/594852. |
base::RunLoop wait_loop; |
- MojoShellConnection::GetForProcess()->GetShellConnection()-> |
- set_initialize_handler(wait_loop.QuitClosure()); |
+ MojoShellConnection::GetForProcess()->SetInitializeHandler( |
+ wait_loop.QuitClosure()); |
wait_loop.Run(); |
} |
#endif // defined(MOJO_SHELL_CLIENT) && defined(USE_AURA) |