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

Unified Diff: services/window_manager/window_manager_app.cc

Issue 911073005: Drop all uses of //base except ObserverList from view mgr client lib (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: gn check Created 5 years, 10 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 | « mojo/services/view_manager/public/cpp/view_tracker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/window_manager/window_manager_app.cc
diff --git a/services/window_manager/window_manager_app.cc b/services/window_manager/window_manager_app.cc
index 18d68e33e51ba86c46acc41df4135c34ebe25cec..c35c5ff963b2fce9ad5980b73e40f4f15750f0be 100644
--- a/services/window_manager/window_manager_app.cc
+++ b/services/window_manager/window_manager_app.cc
@@ -371,11 +371,11 @@ void WindowManagerApp::CreateWindowManagerForViewManagerClient(
void WindowManagerApp::SetViewManagerClient(
mojo::ScopedMessagePipeHandle view_manager_client_request) {
- view_manager_client_ =
+ view_manager_client_.reset(
mojo::ViewManagerClientFactory::WeakBindViewManagerToPipe(
mojo::MakeRequest<mojo::ViewManagerClient>(
view_manager_client_request.Pass()),
- view_manager_service_.Pass(), shell_, this).Pass();
+ view_manager_service_.Pass(), shell_, this));
}
} // namespace window_manager
« no previous file with comments | « mojo/services/view_manager/public/cpp/view_tracker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698