Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 2352193004: Document* -> Document& for loadSubimages and friends. (Closed)
Patch Set: Added constness Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 748444a8531261728495a6525df0ac3f8bcecf0d..6cb1b96f7fd90e1a2c6397242f13150f8f74b5c4 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -470,7 +470,7 @@ public:
// auto is specified.
void pageSizeAndMarginsInPixels(int pageIndex, DoubleSize& pageSize, int& marginTop, int& marginRight, int& marginBottom, int& marginLeft);
- ResourceFetcher* fetcher() { return m_fetcher.get(); }
+ ResourceFetcher* fetcher() const { return m_fetcher.get(); }
void initialize();
virtual void shutdown();

Powered by Google App Engine