Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index 2368fbdec1e671590a1c3e95c80e566ff2787fab..9e210198978210918d940835ef7cdefa1a72ff5c 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -278,8 +278,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) |