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

Unified Diff: extensions/shell/browser/shell_screen.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: extensions/shell/browser/shell_screen.cc
diff --git a/extensions/shell/browser/shell_screen.cc b/extensions/shell/browser/shell_screen.cc
index 00503cf3b597db1f5700aeadc269ca7e5113bb76..2f4845d6cab179cc01e817c76f47f3c2861e1dfa 100644
--- a/extensions/shell/browser/shell_screen.cc
+++ b/extensions/shell/browser/shell_screen.cc
@@ -41,6 +41,7 @@ aura::WindowTreeHost* ShellScreen::CreateHostForPrimaryDisplay() {
gfx::Rect(GetPrimaryDisplay().GetSizeInPixel()));
host_->window()->AddObserver(this);
host_->InitHost();
+ host_->window()->Show();
return host_;
}

Powered by Google App Engine
This is Rietveld 408576698