diff options
Diffstat (limited to 'chrome/browser/ui/views/dom_view_browsertest.cc')
-rw-r--r-- | chrome/browser/ui/views/dom_view_browsertest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/views/dom_view_browsertest.cc b/chrome/browser/ui/views/dom_view_browsertest.cc index f78b549..00bf748 100644 --- a/chrome/browser/ui/views/dom_view_browsertest.cc +++ b/chrome/browser/ui/views/dom_view_browsertest.cc @@ -14,7 +14,7 @@ using views::Widget; class DOMViewTest : public InProcessBrowserTest { public: Widget* CreatePopupWindow() { - Widget* widget = Widget::CreateWidget(); + Widget* widget = new Widget; Widget::InitParams params(Widget::InitParams::TYPE_POPUP); params.bounds = gfx::Rect(0, 0, 400, 400); widget->Init(params); |