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

Unified Diff: Source/core/svg/SVGFEGaussianBlurElement.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/SVGFEGaussianBlurElement.h ('k') | Source/core/svg/SVGFEImageElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEGaussianBlurElement.cpp
diff --git a/Source/core/svg/SVGFEGaussianBlurElement.cpp b/Source/core/svg/SVGFEGaussianBlurElement.cpp
index 4c232d92bdd4e3c4f17415d86612b2a0e8017298..b8daa00cdf5aad6759ccceb2a97eae37da8bcc74 100644
--- a/Source/core/svg/SVGFEGaussianBlurElement.cpp
+++ b/Source/core/svg/SVGFEGaussianBlurElement.cpp
@@ -29,7 +29,7 @@
namespace WebCore {
-SVGFEGaussianBlurElement::SVGFEGaussianBlurElement(Document& document)
+inline SVGFEGaussianBlurElement::SVGFEGaussianBlurElement(Document& document)
: SVGFilterPrimitiveStandardAttributes(SVGNames::feGaussianBlurTag, document)
, m_stdDeviation(SVGAnimatedNumberOptionalNumber::create(this, SVGNames::stdDeviationAttr, 0, 0))
, m_in1(SVGAnimatedString::create(this, SVGNames::inAttr, SVGString::create()))
@@ -40,6 +40,8 @@ SVGFEGaussianBlurElement::SVGFEGaussianBlurElement(Document& document)
addToPropertyMap(m_in1);
}
+DEFINE_NODE_FACTORY(SVGFEGaussianBlurElement)
+
void SVGFEGaussianBlurElement::setStdDeviation(float x, float y)
{
stdDeviationX()->baseValue()->setValue(x);
« no previous file with comments | « Source/core/svg/SVGFEGaussianBlurElement.h ('k') | Source/core/svg/SVGFEImageElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698