Index: third_party/WebKit/Source/core/css/CSSSVGDocumentValue.h |
diff --git a/third_party/WebKit/Source/core/css/CSSSVGDocumentValue.h b/third_party/WebKit/Source/core/css/CSSSVGDocumentValue.h |
index fea4004be858ff9f87215e20e55ff664352cdc7d..da2185ed9bf107e4458d5a72f0a66ee9e10e4af5 100644 |
--- a/third_party/WebKit/Source/core/css/CSSSVGDocumentValue.h |
+++ b/third_party/WebKit/Source/core/css/CSSSVGDocumentValue.h |
@@ -41,7 +41,7 @@ public: |
~CSSSVGDocumentValue(); |
DocumentResource* cachedSVGDocument() const { return m_document.get(); } |
- DocumentResource* load(Document*); |
+ DocumentResource* load(Document*) const; |
String customCSSText() const; |
const String& url() const { return m_url; } |
@@ -58,8 +58,10 @@ private: |
CSSSVGDocumentValue(const String& url); |
String m_url; |
- Member<DocumentResource> m_document; |
- bool m_loadRequested; |
+ |
+ // Document cache. |
+ mutable Member<DocumentResource> m_document; |
+ mutable bool m_loadRequested; |
}; |
DEFINE_CSS_VALUE_TYPE_CASTS(CSSSVGDocumentValue, isSVGDocumentValue()); |