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

Unified Diff: Source/core/svg/SVGFEImageElement.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/SVGFEImageElement.h ('k') | Source/core/svg/SVGFEMergeElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEImageElement.cpp
diff --git a/Source/core/svg/SVGFEImageElement.cpp b/Source/core/svg/SVGFEImageElement.cpp
index 5a367e553b89dfd57ed6ec3552c9d5f47cbec3ac..7f339bd8d3af6ea20a2c63d03236b33a77fc3a03 100644
--- a/Source/core/svg/SVGFEImageElement.cpp
+++ b/Source/core/svg/SVGFEImageElement.cpp
@@ -33,7 +33,7 @@
namespace WebCore {
-SVGFEImageElement::SVGFEImageElement(Document& document)
+inline SVGFEImageElement::SVGFEImageElement(Document& document)
: SVGFilterPrimitiveStandardAttributes(SVGNames::feImageTag, document)
, SVGURIReference(this)
, m_preserveAspectRatio(SVGAnimatedPreserveAspectRatio::create(this, SVGNames::preserveAspectRatioAttr, SVGPreserveAspectRatio::create()))
@@ -42,6 +42,8 @@ SVGFEImageElement::SVGFEImageElement(Document& document)
addToPropertyMap(m_preserveAspectRatio);
}
+DEFINE_NODE_FACTORY(SVGFEImageElement)
+
SVGFEImageElement::~SVGFEImageElement()
{
#if ENABLE(OILPAN)
« no previous file with comments | « Source/core/svg/SVGFEImageElement.h ('k') | Source/core/svg/SVGFEMergeElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698