summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/rendering/svg/SVGShadowTreeElements.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/svg/SVGShadowTreeElements.cpp')
-rw-r--r--Source/WebCore/rendering/svg/SVGShadowTreeElements.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/WebCore/rendering/svg/SVGShadowTreeElements.cpp b/Source/WebCore/rendering/svg/SVGShadowTreeElements.cpp
index ac4a63e..a5cf4ca 100644
--- a/Source/WebCore/rendering/svg/SVGShadowTreeElements.cpp
+++ b/Source/WebCore/rendering/svg/SVGShadowTreeElements.cpp
@@ -32,8 +32,8 @@ namespace WebCore {
// SVGShadowTreeContainerElement
-SVGShadowTreeContainerElement::SVGShadowTreeContainerElement(Document* document)
- : SVGGElement(SVGNames::gTag, document)
+SVGShadowTreeContainerElement::SVGShadowTreeContainerElement(Document* document, ConstructionType constructionType)
+ : SVGGElement(SVGNames::gTag, document, constructionType)
{
}
@@ -54,7 +54,7 @@ PassRefPtr<Element> SVGShadowTreeContainerElement::cloneElementWithoutAttributes
// SVGShadowTreeRootElement
inline SVGShadowTreeRootElement::SVGShadowTreeRootElement(Document* document, SVGUseElement* host)
- : SVGShadowTreeContainerElement(document)
+ : SVGShadowTreeContainerElement(document, CreateSVGShadowRoot)
{
setParent(host);
setInDocument();