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

Unified Diff: third_party/WebKit/Source/core/css/CSSImageValue.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/CSSImageValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSImageValue.h b/third_party/WebKit/Source/core/css/CSSImageValue.h
index f23f1a9c9da38d8e3b547d363913c87124bee7d8..975929d4bd4b1f19fe6cbefd3d8de93d4ee4e634 100644
--- a/third_party/WebKit/Source/core/css/CSSImageValue.h
+++ b/third_party/WebKit/Source/core/css/CSSImageValue.h
@@ -61,9 +61,9 @@ class CORE_EXPORT CSSImageValue : public CSSValue {
DCHECK(!isCachePending());
return m_cachedImage.get();
}
- StyleImage* cacheImage(
- const Document&,
- CrossOriginAttributeValue = CrossOriginAttributeNotSet);
+ StyleImage* cacheImage(const Document&,
+ CrossOriginAttributeValue = CrossOriginAttributeNotSet,
+ bool allowImagePlaceholder = false);
const String& url() const { return m_absoluteURL; }

Powered by Google App Engine
This is Rietveld 408576698