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 6c6e404e02a0093b7e07d641260b6243d222f1f6..a75ad80692b2fca7f6999366601f8b8a05ba35f1 100644 |
--- a/third_party/WebKit/Source/core/css/CSSImageValue.h |
+++ b/third_party/WebKit/Source/core/css/CSSImageValue.h |
@@ -56,7 +56,7 @@ public: |
bool isCachePending() const { return !m_cachedImage; } |
StyleImage* cachedImage() const { ASSERT(!isCachePending()); return m_cachedImage.get(); } |
- StyleImage* cacheImage(Document*, CrossOriginAttributeValue = CrossOriginAttributeNotSet); |
+ StyleImage* cacheImage(const Document&, CrossOriginAttributeValue = CrossOriginAttributeNotSet); |
const String& url() const { return m_absoluteURL; } |
@@ -81,7 +81,7 @@ public: |
void setInitiator(const AtomicString& name) { m_initiatorName = name; } |
DECLARE_TRACE_AFTER_DISPATCH(); |
- void restoreCachedResourceIfNeeded(Document&) const; |
+ void restoreCachedResourceIfNeeded(const Document&) const; |
private: |
CSSImageValue(const AtomicString& rawValue, const KURL&, StyleImage*); |