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

Unified Diff: views/view_unittest.cc

Issue 8136005: Makes visbility inherited. That is, in order for a window to be (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Window now gets visibility from Layer. Created 9 years, 2 months 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: views/view_unittest.cc
diff --git a/views/view_unittest.cc b/views/view_unittest.cc
index 7dca14c6f10fe5b7383ba9d82660968170059ec1..bb99bf9afae13f0952cb62040c4c0e9ed6fa3671 100644
--- a/views/view_unittest.cc
+++ b/views/view_unittest.cc
@@ -2375,6 +2375,7 @@ class ViewLayerTest : public ViewsTestBase {
Widget::InitParams params(Widget::InitParams::TYPE_POPUP);
params.bounds = gfx::Rect(50, 50, 200, 200);
widget_->Init(params);
+ widget_->Show();
widget_->GetRootView()->SetBounds(0, 0, 200, 200);
}

Powered by Google App Engine
This is Rietveld 408576698