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

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: 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..e936a21b83061968e3f4b6065b42baa2a9c92903 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(
+ views_mus_ = views::WindowManagerConnection::Create(
mojo_shell_connection->GetConnector(),
mojo_shell_connection->GetIdentity());
}

Powered by Google App Engine
This is Rietveld 408576698