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

Unified Diff: ui/views/mus/native_widget_mus.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: ui/views/mus/native_widget_mus.cc
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index 7e92c5b697db7d3827e1906b123400f69833231e..7b04c96b1db82ef3eadf918d910a9dc24818200c 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -720,6 +720,7 @@ void NativeWidgetMus::InitNativeWidget(const Widget::InitParams& params) {
window_tree_host_->AddObserver(this);
window_tree_host_->InitHost();
+ window_tree_host_->window()->Show();
hosted_window->SetProperty(kMusWindow, window_);
// TODO(moshayedi): crbug.com/641039. Investigate whether there are any cases

Powered by Google App Engine
This is Rietveld 408576698