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

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

Issue 2916823002: Move Mus into chrome's process when running with --mus.
Patch Set: Addressing most feedback, making this work on device. Created 3 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: services/ui/ws/window_server.cc
diff --git a/services/ui/ws/window_server.cc b/services/ui/ws/window_server.cc
index 907540bd068777f2ddcb0c37653b771295d98cd2..475b90d224268ffaef0925d412cb54d7cea1f139 100644
--- a/services/ui/ws/window_server.cc
+++ b/services/ui/ws/window_server.cc
@@ -60,8 +60,11 @@ struct WindowServer::CurrentDragLoopState {
WindowTree* initiator;
};
-WindowServer::WindowServer(WindowServerDelegate* delegate)
+WindowServer::WindowServer(
+ WindowServerDelegate* delegate,
+ scoped_refptr<base::SingleThreadTaskRunner>& resource_runner)
: delegate_(delegate),
+ resource_runner_(resource_runner),
next_client_id_(1),
display_manager_(new DisplayManager(this, &user_id_tracker_)),
current_operation_(nullptr),

Powered by Google App Engine
This is Rietveld 408576698