Index: third_party/WebKit/Source/core/loader/ImageLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/ImageLoader.cpp b/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
index 2d6ea3de63e75834c8a0ad901b287858d29d8223..ad9eae5a12bc2e9bcc4fb691d19159aa86f875b8 100644 |
--- a/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/ImageLoader.cpp |
@@ -325,6 +325,7 @@ void ImageLoader::doUpdateFromElement(BypassMainWorldBehavior bypassBehavior, Up |
// Unlike raw <img>, we block mixed content inside of <picture> or <img srcset>. |
ResourceLoaderOptions resourceLoaderOptions = ResourceFetcher::defaultResourceOptions(); |
ResourceRequest resourceRequest(url); |
+ resourceRequest.setFetchCredentialsMode(WebURLRequest::FetchCredentialsModeSameOrigin); |
if (updateBehavior == UpdateForcedReload) { |
resourceRequest.setCachePolicy(ResourceRequestCachePolicy::ReloadBypassingCache); |
resourceRequest.setLoFiState(WebURLRequest::LoFiOff); |