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 1d3deb897ab0a294d7068c37776c01a77498c677..6c6e404e02a0093b7e07d641260b6243d222f1f6 100644 |
--- a/third_party/WebKit/Source/core/css/CSSImageValue.h |
+++ b/third_party/WebKit/Source/core/css/CSSImageValue.h |
@@ -54,7 +54,7 @@ public: |
} |
~CSSImageValue(); |
- bool isCachePending() const { return m_isCachePending; } |
+ bool isCachePending() const { return !m_cachedImage; } |
StyleImage* cachedImage() const { ASSERT(!isCachePending()); return m_cachedImage.get(); } |
StyleImage* cacheImage(Document*, CrossOriginAttributeValue = CrossOriginAttributeNotSet); |
@@ -93,7 +93,6 @@ private: |
// Cached image data. |
mutable AtomicString m_absoluteURL; |
- mutable bool m_isCachePending; |
mutable Member<StyleImage> m_cachedImage; |
}; |