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

Unified Diff: sky/viewer/document_view.cc

Issue 745743002: Makes views be initially hidden (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: feedback Created 6 years, 1 month 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
« no previous file with comments | « sky/tools/tester/tester.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/document_view.cc
diff --git a/sky/viewer/document_view.cc b/sky/viewer/document_view.cc
index 75d974289ebeeb9dad59388de74b370165303007..d2a62924c65f4c8d19db79b513943de9ddc069c1 100644
--- a/sky/viewer/document_view.cc
+++ b/sky/viewer/document_view.cc
@@ -169,6 +169,7 @@ mojo::View* DocumentView::createChildFrame(const blink::WebURL& url) {
return nullptr;
mojo::View* child = mojo::View::Create(root_->view_manager());
+ child->SetVisible(true);
root_->AddChild(child);
child->Embed(mojo::String::From(url.string().utf8()));
« no previous file with comments | « sky/tools/tester/tester.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698