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

Unified Diff: third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp

Issue 2795173002: Do not show image placeholders for CSS sprites (Closed)
Patch Set: rebased and addressed comments Created 3 years, 6 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: third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
index 81e6a82df4bc18a1bd3e4d65b91d3a4409d06a14..87208e9f360d1bd6958e80212d2d1cc384ac7ec0 100644
--- a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
@@ -66,8 +66,8 @@ static ImageResourceContent* CachedImageForCSSValue(CSSValue* value,
return nullptr;
if (value->IsImageValue()) {
- StyleImage* style_image_resource =
- ToCSSImageValue(value)->CacheImage(document);
+ StyleImage* style_image_resource = ToCSSImageValue(value)->CacheImage(
+ document, FetchParameters::kAllowPlaceholder);
if (!style_image_resource)
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698