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

Unified Diff: Source/core/svg/SVGFEBlendElement.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/SVGFEBlendElement.h ('k') | Source/core/svg/SVGFEColorMatrixElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEBlendElement.cpp
diff --git a/Source/core/svg/SVGFEBlendElement.cpp b/Source/core/svg/SVGFEBlendElement.cpp
index b248cedbb819b693d784da4415c4465d613a65a6..2d71aa167fca1f9654862a817c303fa948b94165 100644
--- a/Source/core/svg/SVGFEBlendElement.cpp
+++ b/Source/core/svg/SVGFEBlendElement.cpp
@@ -41,7 +41,7 @@ template<> const SVGEnumerationStringEntries& getStaticStringEntries<BlendModeTy
return entries;
}
-SVGFEBlendElement::SVGFEBlendElement(Document& document)
+inline SVGFEBlendElement::SVGFEBlendElement(Document& document)
: SVGFilterPrimitiveStandardAttributes(SVGNames::feBlendTag, document)
, m_in1(SVGAnimatedString::create(this, SVGNames::inAttr, SVGString::create()))
, m_in2(SVGAnimatedString::create(this, SVGNames::in2Attr, SVGString::create()))
@@ -53,6 +53,8 @@ SVGFEBlendElement::SVGFEBlendElement(Document& document)
addToPropertyMap(m_mode);
}
+DEFINE_NODE_FACTORY(SVGFEBlendElement)
+
bool SVGFEBlendElement::isSupportedAttribute(const QualifiedName& attrName)
{
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
« no previous file with comments | « Source/core/svg/SVGFEBlendElement.h ('k') | Source/core/svg/SVGFEColorMatrixElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698