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

Unified Diff: sky/tools/tester/tester.cc

Issue 745743002: Makes views be initially hidden (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: moar 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
Index: sky/tools/tester/tester.cc
diff --git a/sky/tools/tester/tester.cc b/sky/tools/tester/tester.cc
index c71a6f7516079945de27b51f856f81f23e7ba4ee..099d3c65bbf7798b542ce6f5af09bf431dea6cc5 100644
--- a/sky/tools/tester/tester.cc
+++ b/sky/tools/tester/tester.cc
@@ -72,6 +72,7 @@ class SkyTester : public mojo::ApplicationDelegate,
root_->AddObserver(this);
content_ = mojo::View::Create(view_manager_);
+ content_->SetVisible(true);
content_->SetBounds(root_->bounds());
root_->AddChild(content_);

Powered by Google App Engine
This is Rietveld 408576698