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

Unified Diff: Source/core/loader/cache/CachedDocument.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.cpp ('k') | Source/core/loader/cache/CachedFont.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/cache/CachedDocument.cpp
diff --git a/Source/core/loader/cache/CachedDocument.cpp b/Source/core/loader/cache/CachedDocument.cpp
index ea724499c9fb54d5ba10864010752746875150b3..d0ad1081c0159557ff95d4768af8a9034c501428 100644
--- a/Source/core/loader/cache/CachedDocument.cpp
+++ b/Source/core/loader/cache/CachedDocument.cpp
@@ -71,7 +71,7 @@ PassRefPtr<Document> CachedDocument::createDocument(const KURL& url)
{
switch (type()) {
case SVGDocumentResource:
- return SVGDocument::create(0, url);
+ return SVGDocument::create(DocumentInit(url));
default:
// FIXME: We'll add more types to support HTMLImports.
ASSERT_NOT_REACHED();
« no previous file with comments | « Source/core/loader/SinkDocument.cpp ('k') | Source/core/loader/cache/CachedFont.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698