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

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

Issue 2795173002: Do not show image placeholders for CSS sprites (Closed)
Patch Set: remove a test 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 adce4fbd8d94cfedf844f6dc2a84e0e9b06b72ab..ec23b00d6b7f7ba23ee11a379ca3a47109048a48 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