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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp

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/StyleFetchedImageSet.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp
index 27ffd46cbaa635cdf15123d8a71ac0378d3c5d66..dd6d73d1d05d9b8c30fd796e7de5ffeaa40b4eb2 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp
@@ -26,13 +26,13 @@
#include "core/style/StyleFetchedImageSet.h"
#include "core/css/CSSImageSetValue.h"
-#include "core/fetch/ImageResource.h"
+#include "core/fetch/ImageResourceContent.h"
#include "core/layout/LayoutObject.h"
#include "core/svg/graphics/SVGImageForContainer.h"
namespace blink {
-StyleFetchedImageSet::StyleFetchedImageSet(ImageResource* image,
+StyleFetchedImageSet::StyleFetchedImageSet(ImageResourceContent* image,
float imageScaleFactor,
CSSImageSetValue* value,
const KURL& url)
@@ -56,7 +56,7 @@ WrappedImagePtr StyleFetchedImageSet::data() const {
return m_bestFitImage.get();
}
-ImageResource* StyleFetchedImageSet::cachedImage() const {
+ImageResourceContent* StyleFetchedImageSet::cachedImage() const {
return m_bestFitImage.get();
}
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleFetchedImageSet.h ('k') | third_party/WebKit/Source/core/style/StyleImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698