Index: Source/core/fetch/FetchRequest.cpp |
diff --git a/Source/core/fetch/FetchRequest.cpp b/Source/core/fetch/FetchRequest.cpp |
index 956ae9630f2c063b45f4c8c0f53fc83a975a4326..391396b1dc58d39bfcc19e8645e5d1e05e2d72ee 100644 |
--- a/Source/core/fetch/FetchRequest.cpp |
+++ b/Source/core/fetch/FetchRequest.cpp |
@@ -72,6 +72,7 @@ FetchRequest::~FetchRequest() |
void FetchRequest::setCrossOriginAccessControl(SecurityOrigin* origin, StoredCredentials allowCredentials) |
{ |
updateRequestForAccessControl(m_resourceRequest, origin, allowCredentials); |
+ m_options.corsEnabled = IsCORSEnabled; |
} |
} // namespace WebCore |