| 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 b6f4c38a4ae1f3e604b4756cd84ccd68be1bc48b..d41988e13aa5b134eb2279d49b6b1d3f912361e4 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) {
|
|
|