Index: Source/core/svg/SVGDocument.cpp |
diff --git a/Source/core/svg/SVGDocument.cpp b/Source/core/svg/SVGDocument.cpp |
index ddab3c4d3f3b0cba96f2f6950a98c53e2fc7f671..8fe80bcb26aedc16fdfef6a1504f8fbe4cda7624 100644 |
--- a/Source/core/svg/SVGDocument.cpp |
+++ b/Source/core/svg/SVGDocument.cpp |
@@ -94,6 +94,11 @@ void SVGDocument::updatePan(const FloatPoint& pos) const |
} |
} |
+PassRefPtr<Document> SVGDocument::cloneDocumentWithoutChildren() |
+{ |
+ return create(DocumentInit(url())); |
+} |
+ |
bool SVGDocument::childShouldCreateRenderer(const NodeRenderingContext& childContext) const |
{ |
if (childContext.node()->hasTagName(SVGNames::svgTag)) |