Chromium Code Reviews| Index: Source/core/svg/SVGDocument.cpp |
| diff --git a/Source/core/svg/SVGDocument.cpp b/Source/core/svg/SVGDocument.cpp |
| index 406f06738100f0f04c5e2ff5f792abec144b3958..46acfef04e81fe2d482dd1450067ca656fedd6c8 100644 |
| --- a/Source/core/svg/SVGDocument.cpp |
| +++ b/Source/core/svg/SVGDocument.cpp |
| @@ -101,4 +101,9 @@ bool SVGDocument::childShouldCreateRenderer(const Node& child) const |
| return true; |
| } |
| +PassRefPtr<Document> SVGDocument::cloneDocumentWithoutChildren() |
| +{ |
| + return create(DocumentInit(url())); |
| +} |
| + |
| } |