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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2111353002: Move content's shell connections to the IO thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert some gpu changes 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
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 80c84a7309f63d0ee3fcdb65812144932c57a1cf..910422da3617f3c1c1bc0089f55f1824086b970b 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)

Powered by Google App Engine
This is Rietveld 408576698