| Index: third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/DOMWindow.cpp b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| index 84c469ea2d1e8e361998d35c00430d83a8d4554e..3ce520e29d11f9218b229563efac151e4b206684 100644
|
| --- a/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/DOMWindow.cpp
|
| @@ -377,7 +377,7 @@ void DOMWindow::close(ExecutionContext* context) {
|
|
|
| Settings* settings = frame()->settings();
|
| bool allowScriptsToCloseWindows =
|
| - settings && settings->allowScriptsToCloseWindows();
|
| + settings && settings->getAllowScriptsToCloseWindows();
|
|
|
| if (!page->openedByDOM() && frame()->client()->backForwardLength() > 1 &&
|
| !allowScriptsToCloseWindows) {
|
|
|