Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: trunk/Source/core/css/CSSImageSetValue.cpp

Issue 203593008: Revert 169496 "HTML Imports: Send credentials for same origin re..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/Source/core/css/CSSImageSetValue.cpp
===================================================================
--- trunk/Source/core/css/CSSImageSetValue.cpp (revision 169503)
+++ trunk/Source/core/css/CSSImageSetValue.cpp (working copy)
@@ -106,7 +106,7 @@
FetchRequest request(ResourceRequest(document->completeURL(image.imageURL)), FetchInitiatorTypeNames::css, options);
if (options.corsEnabled == IsCORSEnabled)
- request.setCrossOriginAccessControl(loader->document()->securityOrigin(), options.allowCredentials, options.credentialsRequested);
+ request.setCrossOriginAccessControl(loader->document()->securityOrigin(), options.allowCredentials);
if (ResourcePtr<ImageResource> cachedImage = loader->fetchImage(request)) {
m_imageSet = StyleFetchedImageSet::create(cachedImage.get(), image.scaleFactor, this);

Powered by Google App Engine
This is Rietveld 408576698