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

Unified Diff: Source/core/html/ImageDocument.cpp

Issue 18808004: Refactoring: Extract DocumentInit for capture Document construction parameter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to ToT Created 7 years, 5 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
Index: Source/core/html/ImageDocument.cpp
diff --git a/Source/core/html/ImageDocument.cpp b/Source/core/html/ImageDocument.cpp
index d6878e547f9ea062b2364f9601d108cc33f924e9..4cc06f88f267122d18a343a20947dceee9a3aa2c 100644
--- a/Source/core/html/ImageDocument.cpp
+++ b/Source/core/html/ImageDocument.cpp
@@ -148,8 +148,8 @@ void ImageDocumentParser::finish()
// --------
-ImageDocument::ImageDocument(Frame* frame, const KURL& url)
- : HTMLDocument(frame, url, ImageDocumentClass)
+ImageDocument::ImageDocument(const DocumentInitializer& initializer)
+ : HTMLDocument(initializer, ImageDocumentClass)
, m_imageElement(0)
, m_imageSizeIsKnown(false)
, m_didShrinkImage(false)

Powered by Google App Engine
This is Rietveld 408576698