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

Unified Diff: Source/core/loader/SinkDocument.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/loader/SinkDocument.cpp
diff --git a/Source/core/loader/SinkDocument.cpp b/Source/core/loader/SinkDocument.cpp
index a4464abe1ad5224fff9683f47371ebdf683af721..c7a3a12c604fd9be9fc875fa049794e9a2c85420 100644
--- a/Source/core/loader/SinkDocument.cpp
+++ b/Source/core/loader/SinkDocument.cpp
@@ -47,8 +47,8 @@ private:
virtual size_t appendBytes(const char*, size_t) OVERRIDE { return 0; }
};
-SinkDocument::SinkDocument(Frame* frame, const KURL& url)
- : HTMLDocument(frame, url)
+SinkDocument::SinkDocument(const DocumentInitializer& initializer)
+ : HTMLDocument(initializer)
{
setCompatibilityMode(QuirksMode);
lockCompatibilityMode();

Powered by Google App Engine
This is Rietveld 408576698