diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp b/chromium/third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp index d3c3323f655..5c4397f468e 100644 --- a/chromium/third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp +++ b/chromium/third_party/WebKit/Source/core/svg/SVGPolylineElement.cpp @@ -24,15 +24,12 @@ namespace WebCore { -inline SVGPolylineElement::SVGPolylineElement(Document& document) +SVGPolylineElement::SVGPolylineElement(Document& document) : SVGPolyElement(SVGNames::polylineTag, document) { ScriptWrappable::init(this); } -PassRefPtr<SVGPolylineElement> SVGPolylineElement::create(Document& document) -{ - return adoptRef(new SVGPolylineElement(document)); -} +DEFINE_NODE_FACTORY(SVGPolylineElement) } |