summaryrefslogtreecommitdiffstats
path: root/views/view_unittest.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 18:28:44 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-08 18:28:44 +0000
commit56283961a67c5beb667589a547adf3d94db018e9 (patch)
treed492fe5d3d1c3ba12e0d5a0dd1f0b4f7003a47e3 /views/view_unittest.cc
parent209d8ef869e0baa40a65c5daccdd7f99a76d3381 (diff)
downloadchromium_src-56283961a67c5beb667589a547adf3d94db018e9.zip
chromium_src-56283961a67c5beb667589a547adf3d94db018e9.tar.gz
chromium_src-56283961a67c5beb667589a547adf3d94db018e9.tar.bz2
Fix views_unittests bustage.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88366 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/view_unittest.cc')
-rw-r--r--views/view_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/view_unittest.cc b/views/view_unittest.cc
index b72f13774..5933b20 100644
--- a/views/view_unittest.cc
+++ b/views/view_unittest.cc
@@ -1776,7 +1776,7 @@ TEST_F(ViewTest, TransformVisibleBound) {
gfx::Rect viewport_bounds(0, 0, 100, 100);
scoped_ptr<Widget> widget(new Widget);
- Widget::InitParams params(Widget::InitParams::TYPE_WINDOW);
+ Widget::InitParams params(Widget::InitParams::TYPE_POPUP);
params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
params.bounds = viewport_bounds;
widget->Init(params);