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

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

Issue 2804403002: Adds ability for WindowManager to create display roots (Closed)
Patch Set: cleanup Created 3 years, 8 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/display.cc ('k') | services/ui/ws/display_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/display_binding.cc
diff --git a/services/ui/ws/display_binding.cc b/services/ui/ws/display_binding.cc
index f70c92bf01e3031ec7875de3567bb1217e893704..09157038fb09f1208a37a93e3bf2af3b94d46da4 100644
--- a/services/ui/ws/display_binding.cc
+++ b/services/ui/ws/display_binding.cc
@@ -31,7 +31,8 @@ WindowTree* DisplayBindingImpl::CreateWindowTree(ServerWindow* root) {
WindowTree* tree = window_server_->EmbedAtWindow(
root, user_id_, std::move(client_), embed_flags,
base::WrapUnique(new WindowManagerAccessPolicy));
- tree->ConfigureWindowManager();
+ const bool automatically_create_display_roots = true;
+ tree->ConfigureWindowManager(automatically_create_display_roots);
return tree;
}
« no previous file with comments | « services/ui/ws/display.cc ('k') | services/ui/ws/display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698