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

Unified Diff: services/navigation/content_client/browser_main_parts.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, 6 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 | « services/navigation/content_client/browser_main_parts.h ('k') | ui/views/mus/views_mus_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/content_client/browser_main_parts.cc
diff --git a/services/navigation/content_client/browser_main_parts.cc b/services/navigation/content_client/browser_main_parts.cc
index 857d7e9579b1c0f76f352b0e1989376f32eea2aa..242241c9ef7d402a3cfb75d06e5aa0d3f56972a7 100644
--- a/services/navigation/content_client/browser_main_parts.cc
+++ b/services/navigation/content_client/browser_main_parts.cc
@@ -27,7 +27,7 @@ void BrowserMainParts::PreMainMessageLoopRun() {
content::MojoShellConnection* mojo_shell_connection =
content::MojoShellConnection::Get();
if (mojo_shell_connection) {
- views::WindowManagerConnection::Create(
+ window_manager_connection_ = views::WindowManagerConnection::Create(
mojo_shell_connection->GetConnector(),
mojo_shell_connection->GetIdentity());
}
« no previous file with comments | « services/navigation/content_client/browser_main_parts.h ('k') | ui/views/mus/views_mus_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698