Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.cpp

Issue 2352193004: Document* -> Document& for loadSubimages and friends. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleFetchedImage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0a4ef64c5637a06849c308a9dc9e247499da7822 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, Document& document, const KURL& url)
: m_image(image)
- , m_document(document)
+ , m_document(&document)
sashab 2016/09/22 00:24:32 Can this be Document&? :)
, m_url(url)
{
m_isImageResource = true;
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleFetchedImage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698