Index: Source/core/fetch/ResourceFetcher.cpp |
diff --git a/Source/core/fetch/ResourceFetcher.cpp b/Source/core/fetch/ResourceFetcher.cpp |
index fe4b2c8b38ec27194b3c64aeacaeb5a39e8f64c8..a48b17fb2d0521eb74e5b00cf0c60da9104f9e15 100644 |
--- a/Source/core/fetch/ResourceFetcher.cpp |
+++ b/Source/core/fetch/ResourceFetcher.cpp |
@@ -911,7 +911,7 @@ ResourceFetcher::RevalidationPolicy ResourceFetcher::determineRevalidationPolicy |
// This helps with the case where the server sends back |
// "Access-Control-Allow-Origin: *" all the time, but some of the |
// client's requests are made without CORS and some with. |
- if (existingResource->resourceRequest().allowCookies() != request.allowCookies()) { |
+ if (existingResource->resourceRequest().allowStoredCredentials() != request.allowStoredCredentials()) { |
WTF_LOG(ResourceLoading, "ResourceFetcher::determineRevalidationPolicy reloading due to difference in credentials settings."); |
return Reload; |
} |