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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.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/css/cssom/CSSStyleImageValue.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.cpp
index ac8e99bb2c91e54ddacf15b74f7b29ba7fc97fca..30d74bf0489bdbbacb5904b0bc5ed474ee051eb7 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.cpp
@@ -53,7 +53,8 @@ PassRefPtr<Image> CSSStyleImageValue::image() const {
if (isCachePending())
return nullptr;
// cachedImage can be null if image is StyleInvalidImage
- ImageResource* cachedImage = m_imageValue->cachedImage()->cachedImage();
+ ImageResourceContent* cachedImage =
+ m_imageValue->cachedImage()->cachedImage();
if (cachedImage) {
// getImage() returns the nullImage() if the image is not available yet
return cachedImage->getImage()->imageForDefaultFrame();
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSStyleImageValue.h ('k') | third_party/WebKit/Source/core/editing/Editor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698