summaryrefslogtreecommitdiffstats
path: root/views/widget/widget_win_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/widget_win_unittest.cc')
-rw-r--r--views/widget/widget_win_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/widget/widget_win_unittest.cc b/views/widget/widget_win_unittest.cc
index c9a33e8..3c13138 100644
--- a/views/widget/widget_win_unittest.cc
+++ b/views/widget/widget_win_unittest.cc
@@ -43,7 +43,7 @@ class WidgetWinTest : public testing::Test {
};
WidgetWin* WidgetWinTest::CreateWidgetWin() {
- scoped_ptr<Widget> widget(new Widget);
+ scoped_ptr<Widget> widget(Widget::CreateWidget());
Widget::InitParams params(Widget::InitParams::TYPE_WINDOW);
params.delete_on_destroy = false;
params.bounds = gfx::Rect(50, 50, 650, 650);