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

Unified Diff: Source/core/svg/SVGDocument.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/svg/SVGDocument.cpp
diff --git a/Source/core/svg/SVGDocument.cpp b/Source/core/svg/SVGDocument.cpp
index 17e522b461143d47b3f7ad7d97f8ce9c8033b2c0..70204494b713d08a0188230a9f46d4c7e996e886 100644
--- a/Source/core/svg/SVGDocument.cpp
+++ b/Source/core/svg/SVGDocument.cpp
@@ -35,8 +35,8 @@
namespace WebCore {
-SVGDocument::SVGDocument(Frame* frame, const KURL& url)
- : Document(frame, url, SVGDocumentClass)
+SVGDocument::SVGDocument(const DocumentInitializer& initializer)
+ : Document(initializer, SVGDocumentClass)
{
ScriptWrappable::init(this);
}

Powered by Google App Engine
This is Rietveld 408576698