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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.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/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..e5e3c2b180eab367b7206998a62c1b7884f6bf55 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