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

Unified Diff: Source/core/svg/SVGFEOffsetElement.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/SVGFEOffsetElement.h ('k') | Source/core/svg/SVGFEPointLightElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEOffsetElement.cpp
diff --git a/Source/core/svg/SVGFEOffsetElement.cpp b/Source/core/svg/SVGFEOffsetElement.cpp
index 1737488c9fa26b9c235a56ecbc0b2dc7b42f9946..a763f75771291ce361ba933c3952ce6bdd244e98 100644
--- a/Source/core/svg/SVGFEOffsetElement.cpp
+++ b/Source/core/svg/SVGFEOffsetElement.cpp
@@ -28,7 +28,7 @@
namespace WebCore {
-SVGFEOffsetElement::SVGFEOffsetElement(Document& document)
+inline SVGFEOffsetElement::SVGFEOffsetElement(Document& document)
: SVGFilterPrimitiveStandardAttributes(SVGNames::feOffsetTag, document)
, m_dx(SVGAnimatedNumber::create(this, SVGNames::dxAttr, SVGNumber::create()))
, m_dy(SVGAnimatedNumber::create(this, SVGNames::dyAttr, SVGNumber::create()))
@@ -41,6 +41,8 @@ SVGFEOffsetElement::SVGFEOffsetElement(Document& document)
addToPropertyMap(m_in1);
}
+DEFINE_NODE_FACTORY(SVGFEOffsetElement)
+
bool SVGFEOffsetElement::isSupportedAttribute(const QualifiedName& attrName)
{
DEFINE_STATIC_LOCAL(HashSet<QualifiedName>, supportedAttributes, ());
« no previous file with comments | « Source/core/svg/SVGFEOffsetElement.h ('k') | Source/core/svg/SVGFEPointLightElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698