diff options
Diffstat (limited to 'chrome/browser/ui/views/dom_view_browsertest.cc')
-rw-r--r-- | chrome/browser/ui/views/dom_view_browsertest.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/ui/views/dom_view_browsertest.cc b/chrome/browser/ui/views/dom_view_browsertest.cc index 1e7ed8d7..a4e77c1 100644 --- a/chrome/browser/ui/views/dom_view_browsertest.cc +++ b/chrome/browser/ui/views/dom_view_browsertest.cc @@ -14,11 +14,9 @@ using namespace views; class DOMViewTest : public InProcessBrowserTest { public: Widget* CreatePopupWindow() { - Widget* window = - Widget::CreatePopupWidget(Widget::NotTransparent, - Widget::AcceptEvents, - Widget::DeleteOnDestroy, - Widget::DontMirrorOriginInRTL); + Widget::CreateParams params(Widget::CreateParams::TYPE_POPUP); + params.mirror_origin_in_rtl = false; + Widget* window = Widget::CreatePopupWidget(params); window->Init(NULL, gfx::Rect(0, 0, 400, 400)); return window; } |