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

Unified Diff: Source/core/html/HTMLViewSourceDocument.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/HTMLViewSourceDocument.cpp
diff --git a/Source/core/html/HTMLViewSourceDocument.cpp b/Source/core/html/HTMLViewSourceDocument.cpp
index b40c084de472a4de8396e2bc3cfdc2ec57dcd5bf..b2da87d4aac798f707dd95760624a478a5db6daf 100644
--- a/Source/core/html/HTMLViewSourceDocument.cpp
+++ b/Source/core/html/HTMLViewSourceDocument.cpp
@@ -45,8 +45,8 @@ namespace WebCore {
using namespace HTMLNames;
-HTMLViewSourceDocument::HTMLViewSourceDocument(Frame* frame, const KURL& url, const String& mimeType)
- : HTMLDocument(frame, url)
+HTMLViewSourceDocument::HTMLViewSourceDocument(const DocumentInitializer& initializer, const String& mimeType)
+ : HTMLDocument(initializer)
, m_type(mimeType)
{
styleSheetCollection()->setUsesBeforeAfterRulesOverride(true);

Powered by Google App Engine
This is Rietveld 408576698