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

Unified Diff: Source/core/html/TextDocument.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/TextDocument.cpp
diff --git a/Source/core/html/TextDocument.cpp b/Source/core/html/TextDocument.cpp
index 83caa017fef7f33242d7eb37120ed97837b56c04..8391f00a23188e970bbb67420fb9281eb7c2b99f 100644
--- a/Source/core/html/TextDocument.cpp
+++ b/Source/core/html/TextDocument.cpp
@@ -29,8 +29,8 @@
namespace WebCore {
-TextDocument::TextDocument(Frame* frame, const KURL& url)
- : HTMLDocument(frame, url)
+TextDocument::TextDocument(const DocumentInitializer& initializer)
+ : HTMLDocument(initializer)
{
setCompatibilityMode(QuirksMode);
lockCompatibilityMode();

Powered by Google App Engine
This is Rietveld 408576698