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