| 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.");
|
|
|