Index: third_party/WebKit/Source/core/style/StyleFetchedImage.h |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.h b/third_party/WebKit/Source/core/style/StyleFetchedImage.h |
index 994f19e2f13f48ccdf565229e58fbae83ed0dbcf..d403563086eac9a7cc2e09794496ef480ef83a36 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.h |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.h |
@@ -37,7 +37,7 @@ class StyleFetchedImage final : public StyleImage, private ResourceClient { |
USING_PRE_FINALIZER(StyleFetchedImage, dispose); |
USING_GARBAGE_COLLECTED_MIXIN(StyleFetchedImage); |
public: |
- static StyleFetchedImage* create(ImageResource* image, Document* document, const KURL& url) |
+ static StyleFetchedImage* create(ImageResource* image, const Document& document, const KURL& url) |
{ |
return new StyleFetchedImage(image, document, url); |
} |
@@ -65,12 +65,12 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
private: |
- StyleFetchedImage(ImageResource*, Document*, const KURL&); |
+ StyleFetchedImage(ImageResource*, const Document&, const KURL&); |
void dispose(); |
Member<ImageResource> m_image; |
- Member<Document> m_document; |
+ Member<const Document> m_document; |
const KURL m_url; |
}; |