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

Unified Diff: mash/simple_wm/simple_wm.cc

Issue 2565563003: Revert of Making WTH::InitCompositor() protected instead of public. (Closed)
Patch Set: Created 4 years 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 | « ash/mus/window_manager.cc ('k') | ui/aura/window_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/simple_wm/simple_wm.cc
diff --git a/mash/simple_wm/simple_wm.cc b/mash/simple_wm/simple_wm.cc
index b8c9e3b34ae249d63d366f8fde5ffab1f6a759e7..49917e298038468c406f6f578fbb3b05073c1366 100644
--- a/mash/simple_wm/simple_wm.cc
+++ b/mash/simple_wm/simple_wm.cc
@@ -196,6 +196,7 @@
// Only handles a single root.
DCHECK(!root_);
window_tree_host_ = std::move(window_tree_host);
+ window_tree_host_->InitCompositor();
root_ = window_tree_host_->window();
DCHECK(window_manager_client_);
window_manager_client_->AddActivationParent(root_);
« no previous file with comments | « ash/mus/window_manager.cc ('k') | ui/aura/window_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698