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

Unified Diff: chromecast/browser/cast_content_window.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: chromecast/browser/cast_content_window.cc
diff --git a/chromecast/browser/cast_content_window.cc b/chromecast/browser/cast_content_window.cc
index df1720c85b87ce5ed771df70492612fd9b4e35e3..20c3b9d2248eaf47bc932fe9ca3229f492079e18 100644
--- a/chromecast/browser/cast_content_window.cc
+++ b/chromecast/browser/cast_content_window.cc
@@ -82,6 +82,7 @@ void CastContentWindow::CreateWindowTree(content::WebContents* web_contents) {
window_tree_host_.reset(
aura::WindowTreeHost::Create(gfx::Rect(display_size)));
window_tree_host_->InitHost();
+ window_tree_host_->window()->Show();
window_tree_host_->window()->SetLayoutManager(
new CastFillLayout(window_tree_host_->window()));

Powered by Google App Engine
This is Rietveld 408576698