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

Unified Diff: Source/core/svg/SVGFEMorphologyElement.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/SVGFEMorphologyElement.h ('k') | Source/core/svg/SVGFEOffsetElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEMorphologyElement.cpp
diff --git a/Source/core/svg/SVGFEMorphologyElement.cpp b/Source/core/svg/SVGFEMorphologyElement.cpp
index 21f3c996d63adf2072d1d90612bd3538afd72039..44bc060b1ac80008802e50e9f175f4e8502117f7 100644
--- a/Source/core/svg/SVGFEMorphologyElement.cpp
+++ b/Source/core/svg/SVGFEMorphologyElement.cpp
@@ -38,7 +38,7 @@ template<> const SVGEnumerationStringEntries& getStaticStringEntries<MorphologyO
return entries;
}
-SVGFEMorphologyElement::SVGFEMorphologyElement(Document& document)
+inline SVGFEMorphologyElement::SVGFEMorphologyElement(Document& document)
: SVGFilterPrimitiveStandardAttributes(SVGNames::feMorphologyTag, document)
, m_radius(SVGAnimatedNumberOptionalNumber::create(this, SVGNames::radiusAttr))
, m_in1(SVGAnimatedString::create(this, SVGNames::inAttr, SVGString::create()))
@@ -51,6 +51,8 @@ SVGFEMorphologyElement::SVGFEMorphologyElement(Document& document)
addToPropertyMap(m_svgOperator);
}
+DEFINE_NODE_FACTORY(SVGFEMorphologyElement)
+
void SVGFEMorphologyElement::setRadius(float x, float y)
{
radiusX()->baseValue()->setValue(x);
« no previous file with comments | « Source/core/svg/SVGFEMorphologyElement.h ('k') | Source/core/svg/SVGFEOffsetElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698