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

Unified Diff: ash/mus/window_manager.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
« no previous file with comments | « no previous file | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager.cc
diff --git a/ash/mus/window_manager.cc b/ash/mus/window_manager.cc
index d65aad95cc2956f4483abc724410dff025e79d4c..00cca73a9b97f1b61bf354d578636c269a182010 100644
--- a/ash/mus/window_manager.cc
+++ b/ash/mus/window_manager.cc
@@ -212,7 +212,7 @@ display::mojom::DisplayController* WindowManager::GetDisplayController() {
RootWindowController* WindowManager::CreateRootWindowController(
std::unique_ptr<aura::WindowTreeHostMus> window_tree_host,
const display::Display& display) {
- window_tree_host->InitCompositor();
+ window_tree_host->InitHost();
sky 2016/12/06 17:58:02 Should we do this in WindowTreeClient::OnWmNewDisp
mfomitchev 2016/12/06 18:01:18 Ok, yeah, that would make sense. I'll do it in htt
// TODO(sky): this is temporary, should use RootWindowController directly.
aura::client::SetCaptureClient(window_tree_host->window(),
wm_state_->capture_controller());
« no previous file with comments | « no previous file | mash/simple_wm/simple_wm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698