Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1087)

Unified Diff: Source/core/svg/SVGAnimateTransformElement.cpp

Issue 327633004: Apply DEFINE/DECLARE_NODE_FACTORY(T) macro to element factories with single Document& argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGAnimateTransformElement.h ('k') | Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimateTransformElement.cpp
diff --git a/Source/core/svg/SVGAnimateTransformElement.cpp b/Source/core/svg/SVGAnimateTransformElement.cpp
index 4b440f848d03a09c0652c95141fffe865d016c9e..fdfd4c408854e18d7ee16810338b5b01a25c0310 100644
--- a/Source/core/svg/SVGAnimateTransformElement.cpp
+++ b/Source/core/svg/SVGAnimateTransformElement.cpp
@@ -29,13 +29,15 @@
namespace WebCore {
-SVGAnimateTransformElement::SVGAnimateTransformElement(Document& document)
+inline SVGAnimateTransformElement::SVGAnimateTransformElement(Document& document)
: SVGAnimateElement(SVGNames::animateTransformTag, document)
, m_type(SVG_TRANSFORM_UNKNOWN)
{
ScriptWrappable::init(this);
}
+DEFINE_NODE_FACTORY(SVGAnimateTransformElement)
+
bool SVGAnimateTransformElement::hasValidAttributeType()
{
SVGElement* targetElement = this->targetElement();
« no previous file with comments | « Source/core/svg/SVGAnimateTransformElement.h ('k') | Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698