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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2026623002: views/mus: Have explicit ownership of views::WindowManagerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tot-merge Created 4 years, 7 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 c56d426445c04239ed4cdbe4a5439a62eeda33b4..1f5f4e1392deadd18453d4e7160f07f7d2e40927 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -1216,7 +1216,7 @@ int BrowserMainLoop::BrowserThreadsStarted() {
// TODO(rockot): Remove the blocking wait for init.
// http://crbug.com/594852.
WaitForMojoShellInitialize();
- views::WindowManagerConnection::Create(
+ window_manager_connection_ = views::WindowManagerConnection::Create(
mojo_shell_connection->GetConnector(),
mojo_shell_connection->GetIdentity());
}

Powered by Google App Engine
This is Rietveld 408576698