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

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

Issue 2274353003: Add PlatformScreenDelegate and start implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More fixes for comments. Created 4 years, 4 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_tree_host_factory.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_tree_host_factory.cc
diff --git a/services/ui/ws/window_tree_host_factory.cc b/services/ui/ws/window_tree_host_factory.cc
index 6bc66bf9b2b017e20196ce0640c93e4c6d04cc8c..e24fd082344eb3b1ecd64436b10b8edd3c3c86e0 100644
--- a/services/ui/ws/window_tree_host_factory.cc
+++ b/services/ui/ws/window_tree_host_factory.cc
@@ -12,13 +12,12 @@
namespace ui {
namespace ws {
-WindowTreeHostFactory::WindowTreeHostFactory(
- WindowServer* window_server,
- const UserId& user_id,
- const PlatformDisplayInitParams& platform_display_init_params)
- : window_server_(window_server),
- user_id_(user_id),
- platform_display_init_params_(platform_display_init_params) {}
+WindowTreeHostFactory::WindowTreeHostFactory(WindowServer* window_server,
+ const UserId& user_id)
+ : window_server_(window_server), user_id_(user_id) {
+ platform_display_init_params_.surfaces_state =
+ window_server_->GetSurfacesState();
+}
WindowTreeHostFactory::~WindowTreeHostFactory() {}
« no previous file with comments | « services/ui/ws/window_tree_host_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698