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

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: Fixed webkit_unit_tests build failure. 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
« no previous file with comments | « Source/core/loader/SinkDocument.h ('k') | Source/core/loader/cache/CachedDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/SinkDocument.cpp
diff --git a/Source/core/loader/SinkDocument.cpp b/Source/core/loader/SinkDocument.cpp
index a4464abe1ad5224fff9683f47371ebdf683af721..307990ce1010b6b30d433af2a19ebb5d028a40cc 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 DocumentInit& initializer)
+ : HTMLDocument(initializer)
{
setCompatibilityMode(QuirksMode);
lockCompatibilityMode();
« no previous file with comments | « Source/core/loader/SinkDocument.h ('k') | Source/core/loader/cache/CachedDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698