Index: Source/core/svg/SVGSwitchElement.cpp |
diff --git a/Source/core/svg/SVGSwitchElement.cpp b/Source/core/svg/SVGSwitchElement.cpp |
index 5ed31253c95da89d183c3230efac542ada0db652..215c0d09d3e1d3c49e72fd9d80678186e56b1b8e 100644 |
--- a/Source/core/svg/SVGSwitchElement.cpp |
+++ b/Source/core/svg/SVGSwitchElement.cpp |
@@ -28,7 +28,7 @@ |
namespace WebCore { |
-SVGSwitchElement::SVGSwitchElement(Document& document) |
+inline SVGSwitchElement::SVGSwitchElement(Document& document) |
: SVGGraphicsElement(SVGNames::switchTag, document) |
{ |
ScriptWrappable::init(this); |
@@ -36,6 +36,8 @@ SVGSwitchElement::SVGSwitchElement(Document& document) |
UseCounter::count(document, UseCounter::SVGSwitchElement); |
} |
+DEFINE_NODE_FACTORY(SVGSwitchElement) |
+ |
RenderObject* SVGSwitchElement::createRenderer(RenderStyle*) |
{ |
return new RenderSVGTransformableContainer(this); |