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

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

Issue 2710113002: DO NOT SUBMIT really old prototype of sprite recognition for image replacement
Patch Set: Created 3 years, 10 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 a75ad80692b2fca7f6999366601f8b8a05ba35f1..6786faadc89d18a6da00d021139e277badc24649 100644
--- a/third_party/WebKit/Source/core/css/CSSImageValue.h
+++ b/third_party/WebKit/Source/core/css/CSSImageValue.h
@@ -23,6 +23,7 @@
#include "core/CoreExport.h"
#include "core/css/CSSValue.h"
+#include "core/fetch/ImageResource.h"
#include "platform/CrossOriginAttributeValue.h"
#include "platform/weborigin/Referrer.h"
#include "wtf/RefPtr.h"
@@ -56,7 +57,8 @@ public:
bool isCachePending() const { return !m_cachedImage; }
StyleImage* cachedImage() const { ASSERT(!isCachePending()); return m_cachedImage.get(); }
- StyleImage* cacheImage(const Document&, CrossOriginAttributeValue = CrossOriginAttributeNotSet);
+
+ StyleImage* cacheImage(const Document&, CrossOriginAttributeValue = CrossOriginAttributeNotSet, ImageResource::PlaceholderRequestType = ImageResource::PlaceholderRequestType::DisallowPlaceholder);
const String& url() const { return m_absoluteURL; }
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSImageSetValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSImageValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698