Index: third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
index 60db493ccb311e2b35eddb3c5b85f83a8c504afb..23971f24638dd969a2fd7a84484f9b63e5d5840f 100644 |
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.cpp |
@@ -31,9 +31,9 @@ |
namespace blink { |
-StyleFetchedImage::StyleFetchedImage(ImageResource* image, Document* document, const KURL& url) |
+StyleFetchedImage::StyleFetchedImage(ImageResource* image, const Document& document, const KURL& url) |
: m_image(image) |
- , m_document(document) |
+ , m_document(&document) |
, m_url(url) |
{ |
m_isImageResource = true; |