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

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

Issue 2795173002: Do not show image placeholders for CSS sprites (Closed)
Patch Set: Addressed kouhei comments 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 ccca36eac5440133a3bc1fca5122277c175202cc..f833ac16fc75ae663bb7da7eb99856e9d3cd93e7 100644
--- a/third_party/WebKit/Source/core/css/CSSImageValue.h
+++ b/third_party/WebKit/Source/core/css/CSSImageValue.h
@@ -24,6 +24,7 @@
#include "core/CoreExport.h"
#include "core/css/CSSValue.h"
#include "platform/CrossOriginAttributeValue.h"
+#include "platform/loader/fetch/FetchParameters.h"
#include "platform/weborigin/Referrer.h"
#include "platform/wtf/RefPtr.h"
@@ -63,7 +64,9 @@ class CORE_EXPORT CSSImageValue : public CSSValue {
}
StyleImage* CacheImage(
const Document&,
- CrossOriginAttributeValue = kCrossOriginAttributeNotSet);
+ CrossOriginAttributeValue = kCrossOriginAttributeNotSet,
+ FetchParameters::PlaceholderImageRequestType =
+ FetchParameters::kDisallowPlaceholder);
kouhei (in TOK) 2017/04/28 03:50:50 same here.
Raj 2017/04/28 18:01:21 Done.
const String& Url() const { return absolute_url_; }

Powered by Google App Engine
This is Rietveld 408576698