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

Unified Diff: Source/core/loader/SinkDocument.h

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/DocumentLoader.cpp ('k') | Source/core/loader/SinkDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/SinkDocument.h
diff --git a/Source/core/loader/SinkDocument.h b/Source/core/loader/SinkDocument.h
index 52792c8176c728279325bf118fc199f289290a23..e68bc45551e86fcab6df413a9f8767cfc2fcca5f 100644
--- a/Source/core/loader/SinkDocument.h
+++ b/Source/core/loader/SinkDocument.h
@@ -32,13 +32,13 @@ namespace WebCore {
class SinkDocument FINAL : public HTMLDocument {
public:
- static PassRefPtr<SinkDocument> create(Frame* frame, const KURL& url)
+ static PassRefPtr<SinkDocument> create(const DocumentInit& initializer = DocumentInit())
{
- return adoptRef(new SinkDocument(frame, url));
+ return adoptRef(new SinkDocument(initializer));
}
private:
- SinkDocument(Frame*, const KURL&);
+ SinkDocument(const DocumentInit&);
virtual PassRefPtr<DocumentParser> createParser();
};
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/loader/SinkDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698