Index: Source/core/fetch/FetchRequest.cpp |
diff --git a/Source/core/fetch/FetchRequest.cpp b/Source/core/fetch/FetchRequest.cpp |
index d8d95121899b34dd7a13566eb2d03f24a81c3e68..e8043a6ea857e1c6a40b7730e98f4fec4c4e74c6 100644 |
--- a/Source/core/fetch/FetchRequest.cpp |
+++ b/Source/core/fetch/FetchRequest.cpp |
@@ -68,11 +68,9 @@ FetchRequest::~FetchRequest() |
{ |
} |
-void FetchRequest::setPotentiallyCrossOriginEnabled(SecurityOrigin* origin, StoredCredentials allowCredentials) |
+void FetchRequest::setCrossOriginAccessControl(SecurityOrigin* origin, StoredCredentials allowCredentials) |
{ |
updateRequestForAccessControl(m_resourceRequest, origin, allowCredentials); |
- ASSERT(m_options.requestOriginPolicy == UseDefaultOriginRestrictionsForType); // Allows only tightening from the default value. |
- m_options.requestOriginPolicy = PotentiallyCrossOriginEnabled; |
} |
} // namespace WebCore |