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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageSetValue.h

Issue 2795173002: Do not show image placeholders for CSS sprites (Closed)
Patch Set: Added layout test expected result Created 3 years, 8 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/CSSImageSetValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSImageSetValue.h b/third_party/WebKit/Source/core/css/CSSImageSetValue.h
index f5738ceabe409c6e66942afd4be0d70c579096e9..717379a9649c2e132a0e641490df155b21be077d 100644
--- a/third_party/WebKit/Source/core/css/CSSImageSetValue.h
+++ b/third_party/WebKit/Source/core/css/CSSImageSetValue.h
@@ -43,10 +43,10 @@ class CSSImageSetValue : public CSSValueList {
bool isCachePending(float deviceScaleFactor) const;
StyleImage* cachedImage(float deviceScaleFactor) const;
- StyleImage* cacheImage(
- const Document&,
- float deviceScaleFactor,
- CrossOriginAttributeValue = CrossOriginAttributeNotSet);
+ StyleImage* cacheImage(const Document&,
+ float deviceScaleFactor,
+ CrossOriginAttributeValue = CrossOriginAttributeNotSet,
+ bool allowImagePlaceholder = false);
kouhei (in TOK) 2017/04/11 07:45:59 Can we take ImagePlaceHolderRequestType? https:/
Raj 2017/04/20 19:01:17 Done.
String customCSSText() const;

Powered by Google App Engine
This is Rietveld 408576698