Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Unified Diff: third_party/WebKit/Source/core/frame/DOMWindow.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Capitalize the prefix. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698