Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(251)

Unified Diff: content/browser/browser_main_loop.cc

Issue 2132793002: Revert of Move content's shell connections to the IO thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « content/browser/browser_context.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698