Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 910422da3617f3c1c1bc0089f55f1824086b970b..80c84a7309f63d0ee3fcdb65812144932c57a1cf 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -278,8 +278,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) |