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

Unified Diff: mash/simple_wm/simple_wm.cc

Issue 2556803002: Making WTH::InitCompositor() protected instead of public. (Closed)
Patch Set: Calling InitHost() instead of InitCompositor() in a couple of places. 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
Index: mash/simple_wm/simple_wm.cc
diff --git a/mash/simple_wm/simple_wm.cc b/mash/simple_wm/simple_wm.cc
index 49917e298038468c406f6f578fbb3b05073c1366..67f38f0c4f93864a654f163047d843d8bfac58f3 100644
--- a/mash/simple_wm/simple_wm.cc
+++ b/mash/simple_wm/simple_wm.cc
@@ -196,7 +196,7 @@ void SimpleWM::OnWmNewDisplay(
// Only handles a single root.
DCHECK(!root_);
window_tree_host_ = std::move(window_tree_host);
- window_tree_host_->InitCompositor();
+ window_tree_host_->InitHost();
root_ = window_tree_host_->window();
DCHECK(window_manager_client_);
window_manager_client_->AddActivationParent(root_);

Powered by Google App Engine
This is Rietveld 408576698