Index: Source/core/xmlhttprequest/XMLHttpRequest.cpp |
diff --git a/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
index 3335721c51ce0d4c3ea2d46bbcbfa4d4ec13aaeb..69df513865c126cffd3f0a26cbb91d29ff1fb886 100644 |
--- a/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
+++ b/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
@@ -1038,7 +1038,7 @@ void XMLHttpRequest::createRequest(PassRefPtr<FormData> httpBody, ExceptionState |
ResourceRequest request(m_url); |
request.setHTTPMethod(m_method); |
- request.setRequestContext(blink::WebURLRequest::RequestContextXMLHttpRequest); |
+ request.setRequestContext(WebURLRequest::RequestContextXMLHttpRequest); |
request.setFetchCredentialsMode(m_includeCredentials ? WebURLRequest::FetchCredentialsModeInclude : WebURLRequest::FetchCredentialsModeSameOrigin); |
InspectorInstrumentation::willLoadXHR(&executionContext, this, this, m_method, m_url, m_async, httpBody ? httpBody->deepCopy() : nullptr, m_requestHeaders, m_includeCredentials); |