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

Unified Diff: third_party/WebKit/Source/core/style/StyleImage.h

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: style Created 4 years 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/style/StyleImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleImage.h b/third_party/WebKit/Source/core/style/StyleImage.h
index 1e425c70582c72e4ef6aac601942674e04e9e08e..ffb1218bb2c7ae0a69b148391e27563ea873dd55 100644
--- a/third_party/WebKit/Source/core/style/StyleImage.h
+++ b/third_party/WebKit/Source/core/style/StyleImage.h
@@ -31,7 +31,7 @@
namespace blink {
class CSSValue;
-class ImageResource;
+class ImageResourceContent;
class IntSize;
class LayoutObject;
class LayoutSize;
@@ -72,7 +72,7 @@ class CORE_EXPORT StyleImage : public GarbageCollectedFinalized<StyleImage> {
virtual WrappedImagePtr data() const = 0;
virtual float imageScaleFactor() const { return 1; }
virtual bool knownToBeOpaque(const LayoutObject&) const = 0;
- virtual ImageResource* cachedImage() const { return 0; }
+ virtual ImageResourceContent* cachedImage() const { return 0; }
ALWAYS_INLINE bool isImageResource() const { return m_isImageResource; }
ALWAYS_INLINE bool isPendingImage() const { return m_isPendingImage; }
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp ('k') | third_party/WebKit/Source/core/svg/SVGFEImageElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698