| Index: Source/core/page/CreateWindow.cpp
|
| diff --git a/Source/core/page/CreateWindow.cpp b/Source/core/page/CreateWindow.cpp
|
| index 206ad49a35e4d4cf1c9b5dac06b9b86b7bc08a5e..aa70c85c8e7ff8a95c350134ba1fdca9cd77e13d 100644
|
| --- a/Source/core/page/CreateWindow.cpp
|
| +++ b/Source/core/page/CreateWindow.cpp
|
| @@ -93,11 +93,7 @@ static Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLo
|
| if (request.frameName() != "_blank")
|
| frame->tree()->setName(request.frameName());
|
|
|
| - page->chrome().setToolbarsVisible(features.toolBarVisible || features.locationBarVisible);
|
| - page->chrome().setStatusbarVisible(features.statusBarVisible);
|
| - page->chrome().setScrollbarsVisible(features.scrollbarsVisible);
|
| - page->chrome().setMenubarVisible(features.menuBarVisible);
|
| - page->chrome().setResizable(features.resizable);
|
| + page->chrome().setWindowFeatures(features);
|
|
|
| // 'x' and 'y' specify the location of the window, while 'width' and 'height'
|
| // specify the size of the viewport. We can only resize the window, so adjust
|
|
|