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

Unified Diff: mash/simple_wm/simple_wm.cc

Issue 2567293004: Makes WindowTreeHost::InitHost() not Show the window (Closed)
Patch Set: WTF::Show shows window 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 c77d4a72fc9b9498a386761c77aa85ff1314a805..e78dfc6602bffabdb0b9822bdfa4395050a4d3f5 100644
--- a/mash/simple_wm/simple_wm.cc
+++ b/mash/simple_wm/simple_wm.cc
@@ -399,6 +399,7 @@ void SimpleWM::OnWmNewDisplay(
DCHECK(!window_root_);
window_tree_host_ = std::move(window_tree_host);
window_tree_host_->InitHost();
+ window_tree_host_->window()->Show();
display_root_ = window_tree_host_->window();
window_root_ = new aura::Window(nullptr);
window_root_->Init(ui::LAYER_NOT_DRAWN);

Powered by Google App Engine
This is Rietveld 408576698