Index: examples/window_manager/window_manager.cc |
diff --git a/examples/window_manager/window_manager.cc b/examples/window_manager/window_manager.cc |
index 870efee568766793aeb241e79e3db6a54b1a2b49..c3bd3f301a533984171c120a979d860cbc9c8780 100644 |
--- a/examples/window_manager/window_manager.cc |
+++ b/examples/window_manager/window_manager.cc |
@@ -355,6 +355,7 @@ class WindowManager |
view_manager_ = view_manager; |
View* view = View::Create(view_manager_); |
+ view->SetVisible(true); |
root->AddChild(view); |
Rect rect; |
rect.width = root->bounds().width; |
@@ -467,6 +468,7 @@ class WindowManager |
View* view = View::Create(view_manager_); |
content->AddChild(view); |
view->SetBounds(bounds); |
+ view->SetVisible(true); |
view->SetFocus(); |
return new Window(this, view); |
} |
@@ -487,6 +489,7 @@ class WindowManager |
bounds.height = |
root->bounds().height - kBorderInset * 3 - kTextfieldHeight; |
view->SetBounds(bounds); |
+ view->SetVisible(true); |
debug_panel_ = new DebugPanel(this, shell_, view); |
return view->id(); |