summaryrefslogtreecommitdiffstats
path: root/WebCore/rendering/RenderSVGShadowTreeRootContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/rendering/RenderSVGShadowTreeRootContainer.cpp')
-rw-r--r--WebCore/rendering/RenderSVGShadowTreeRootContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/rendering/RenderSVGShadowTreeRootContainer.cpp b/WebCore/rendering/RenderSVGShadowTreeRootContainer.cpp
index 888dd57..d3064c6 100644
--- a/WebCore/rendering/RenderSVGShadowTreeRootContainer.cpp
+++ b/WebCore/rendering/RenderSVGShadowTreeRootContainer.cpp
@@ -53,7 +53,7 @@ void RenderSVGShadowTreeRootContainer::updateFromElement()
SVGUseElement* useElement = static_cast<SVGUseElement*>(node());
if (!m_shadowRoot) {
ASSERT(!m_recreateTree);
- m_shadowRoot = new SVGShadowTreeRootElement(document(), useElement);
+ m_shadowRoot = SVGShadowTreeRootElement::create(document(), useElement);
useElement->buildPendingResource();
}