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

Unified Diff: third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp

Issue 1369213002: Revert of Replace RawPtr with RefPtr on StylePendingImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSCursorImageValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
index d4a320863c678097e0b20c0610979b6399d1cbe2..3816da275d85beed59a326de84d2c65d68a6f2c5 100644
--- a/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSCrossfadeValue.cpp
@@ -37,7 +37,7 @@
static bool subimageIsPending(CSSValue* value)
{
if (value->isImageValue())
- return toCSSImageValue(value)->isCachePending();
+ return toCSSImageValue(value)->cachedOrPendingImage()->isPendingImage();
if (value->isImageGeneratorValue())
return toCSSImageGeneratorValue(value)->isPending();
@@ -66,7 +66,7 @@
return nullptr;
if (value->isImageValue()) {
- StyleFetchedImage* styleImageResource = toCSSImageValue(value)->cacheImage(document);
+ StyleFetchedImage* styleImageResource = toCSSImageValue(value)->cachedImage(document);
if (!styleImageResource)
return nullptr;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSCursorImageValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698