Index: third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
index a638964119f86817df3e0da976e059a26859e4ad..06e78f557d5bb8c3e8de05eb1e7aa3bff0853d0c 100644 |
--- a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
@@ -526,8 +526,6 @@ void FetchManager::Loader::performHTTPFetch(bool corsFlag, bool corsPreflightFla |
ResourceRequest request(m_request->url()); |
request.setRequestContext(m_request->context()); |
request.setHTTPMethod(m_request->method()); |
- request.setFetchRequestMode(m_request->mode()); |
- request.setFetchCredentialsMode(m_request->credentials()); |
const Vector<OwnPtr<FetchHeaderList::Header>>& list = m_request->headerList()->list(); |
for (size_t i = 0; i < list.size(); ++i) { |
request.addHTTPHeaderField(AtomicString(list[i]->first), AtomicString(list[i]->second)); |