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

Unified Diff: mash/example/views_examples/views_examples_application_delegate.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
Index: mash/example/views_examples/views_examples_application_delegate.cc
diff --git a/mash/example/views_examples/views_examples_application_delegate.cc b/mash/example/views_examples/views_examples_application_delegate.cc
index f990eb101153b58861909ea2924ebffdb7bd0d8d..4877da9e94d90fadd2cb13fd43c7682a7590c1fe 100644
--- a/mash/example/views_examples/views_examples_application_delegate.cc
+++ b/mash/example/views_examples/views_examples_application_delegate.cc
@@ -22,7 +22,8 @@ void ViewsExamplesApplicationDelegate::Initialize(
uint32_t id) {
tracing_.Initialize(connector, identity.name());
aura_init_.reset(new views::AuraInit(connector, "views_mus_resources.pak"));
- views::WindowManagerConnection::Create(connector, identity);
+ window_manager_connection_ =
+ views::WindowManagerConnection::Create(connector, identity);
}
bool ViewsExamplesApplicationDelegate::AcceptConnection(

Powered by Google App Engine
This is Rietveld 408576698