Index: Source/WebCore/svg/SVGUseElement.cpp |
=================================================================== |
--- Source/WebCore/svg/SVGUseElement.cpp (revision 141147) |
+++ Source/WebCore/svg/SVGUseElement.cpp (working copy) |
@@ -400,7 +400,7 @@ |
{ |
// FIXME: We should try to optimize this, to at least allow partial reclones. |
if (ShadowRoot* shadowTreeRootElement = shadow()->oldestShadowRoot()) |
- shadowTreeRootElement->removeAllChildren(); |
+ shadowTreeRootElement->removeChildren(); |
if (m_targetElementInstance) { |
m_targetElementInstance->detach(); |