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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp

Issue 2589143003: Add 'get' prefix for Settings.in generated code. (Closed)
Patch Set: Only get prefix and no capitalization. Created 3 years, 11 months 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/xmlhttprequest/XMLHttpRequest.cpp
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
index 21df5410f6d061dd15ce66f08bea2ea2a21066a6..274b282236ede6a1402cad315da3083aa6256047 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
@@ -621,7 +621,7 @@ void XMLHttpRequest::open(const AtomicString& method,
if (!async && getExecutionContext()->isDocument()) {
if (document()->settings() &&
- !document()->settings()->syncXHRInDocumentsEnabled()) {
+ !document()->settings()->getSyncXHRInDocumentsEnabled()) {
exceptionState.throwDOMException(
InvalidAccessError,
"Synchronous requests are disabled for this page.");

Powered by Google App Engine
This is Rietveld 408576698