Index: Source/core/css/resolver/StyleResourceLoader.cpp |
diff --git a/Source/core/css/resolver/StyleResourceLoader.cpp b/Source/core/css/resolver/StyleResourceLoader.cpp |
index 023454dba596f33a71fd2c976abbda0f43877d4d..2def25e58b731b91259ac93f64465e41b7fc7de4 100644 |
--- a/Source/core/css/resolver/StyleResourceLoader.cpp |
+++ b/Source/core/css/resolver/StyleResourceLoader.cpp |
@@ -116,10 +116,9 @@ void StyleResourceLoader::loadPendingShapeImage(RenderStyle* renderStyle, ShapeV |
CSSImageValue* cssImageValue = pendingImage->cssImageValue(); |
ResourceLoaderOptions options = ResourceFetcher::defaultResourceOptions(); |
- options.requestOriginPolicy = PotentiallyCrossOriginEnabled; |
options.allowCredentials = DoNotAllowStoredCredentials; |
- shapeValue->setImage(cssImageValue->cachedImage(m_fetcher, options)); |
+ shapeValue->setImage(cssImageValue->cachedImage(m_fetcher, options, PotentiallyCORSEnabled)); |
} |
void StyleResourceLoader::loadPendingImages(RenderStyle* style, const ElementStyleResources& elementStyleResources) |