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

Unified Diff: services/ui/ws/window_server.cc

Issue 2342003003: [WIP] Mus: Pass the mojo connector to OzonePlatform::InitializeForGPU (Closed)
Patch Set: Created 4 years, 3 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/ui/ws/window_server.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_server.cc
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
index dd5e3cae6261063b7fe094896a1deb36b3d9f6c9..f2e32410c05ea713f07caf9aa413da3024364604 100644
--- a/services/ui/ws/window_server.cc
+++ b/services/ui/ws/window_server.cc
@@ -38,7 +38,8 @@ struct WindowServer::CurrentMoveLoopState {
gfx::Rect revert_bounds;
};
-WindowServer::WindowServer(WindowServerDelegate* delegate)
+WindowServer::WindowServer(WindowServerDelegate* delegate,
+ shell::Connector* connector)
: delegate_(delegate),
surfaces_state_(new SurfacesState()),
next_client_id_(1),
@@ -46,7 +47,7 @@ WindowServer::WindowServer(WindowServerDelegate* delegate)
current_operation_(nullptr),
in_destructor_(false),
next_wm_change_id_(0),
- gpu_proxy_(new GpuServiceProxy(this)),
+ gpu_proxy_(new GpuServiceProxy(this, connector)),
window_manager_window_tree_factory_set_(this, &user_id_tracker_) {
user_id_tracker_.AddObserver(this);
OnUserIdAdded(user_id_tracker_.active_id());
« no previous file with comments | « services/ui/ws/window_server.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698