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

Unified Diff: content/shell/browser/shell_platform_data_aura.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: content/shell/browser/shell_platform_data_aura.cc
diff --git a/content/shell/browser/shell_platform_data_aura.cc b/content/shell/browser/shell_platform_data_aura.cc
index 6ea8edbd742768d9c6696420567f03837d25491f..89911a068715b39082499b16a6a22e19624f335f 100644
--- a/content/shell/browser/shell_platform_data_aura.cc
+++ b/content/shell/browser/shell_platform_data_aura.cc
@@ -63,6 +63,7 @@ ShellPlatformDataAura::ShellPlatformDataAura(const gfx::Size& initial_size) {
CHECK(aura::Env::GetInstance());
host_.reset(aura::WindowTreeHost::Create(gfx::Rect(initial_size)));
host_->InitHost();
+ host_->window()->Show();
host_->window()->SetLayoutManager(new FillLayout(host_->window()));
focus_client_.reset(new aura::test::TestFocusClient());

Powered by Google App Engine
This is Rietveld 408576698