| Index: Source/core/fetch/DocumentResource.cpp
|
| diff --git a/Source/core/fetch/DocumentResource.cpp b/Source/core/fetch/DocumentResource.cpp
|
| index 4cb90aa81b1ba3903051cdd16c9be6231b88e0bf..b1a44edc5bac05b0cdbd003ed2aa58894c6cbcd2 100644
|
| --- a/Source/core/fetch/DocumentResource.cpp
|
| +++ b/Source/core/fetch/DocumentResource.cpp
|
| @@ -24,8 +24,8 @@
|
|
|
| #include "core/fetch/DocumentResource.h"
|
|
|
| +#include "core/dom/XMLDocument.h"
|
| #include "platform/SharedBuffer.h"
|
| -#include "core/svg/SVGDocument.h"
|
| #include "wtf/text/StringBuilder.h"
|
|
|
| namespace WebCore {
|
| @@ -69,7 +69,7 @@ PassRefPtr<Document> DocumentResource::createDocument(const KURL& url)
|
| {
|
| switch (type()) {
|
| case SVGDocument:
|
| - return SVGDocument::create(DocumentInit(url));
|
| + return XMLDocument::createSVG(DocumentInit(url));
|
| default:
|
| // FIXME: We'll add more types to support HTMLImports.
|
| ASSERT_NOT_REACHED();
|
|
|