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

Unified Diff: mash/task_viewer/task_viewer.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: mash/task_viewer/task_viewer.cc
diff --git a/mash/task_viewer/task_viewer.cc b/mash/task_viewer/task_viewer.cc
index 8e481365af80373ff32dddfcb01a4b575bee01d8..705d57d63c75a97b77c9c1c39848a2f4b8b3b7ef 100644
--- a/mash/task_viewer/task_viewer.cc
+++ b/mash/task_viewer/task_viewer.cc
@@ -290,7 +290,7 @@ void TaskViewer::Initialize(shell::Connector* connector,
tracing_.Initialize(connector, identity.name());
aura_init_.reset(new views::AuraInit(connector, "views_mus_resources.pak"));
- views::WindowManagerConnection::Create(connector, identity);
+ views_mus_ = views::WindowManagerConnection::Create(connector, identity);
}
bool TaskViewer::AcceptConnection(shell::Connection* connection) {

Powered by Google App Engine
This is Rietveld 408576698