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

Unified Diff: Source/core/svg/SVGRadialGradientElement.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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/SVGPreserveAspectRatioTearOff.cpp ('k') | Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGRadialGradientElement.cpp
diff --git a/Source/core/svg/SVGRadialGradientElement.cpp b/Source/core/svg/SVGRadialGradientElement.cpp
index b83917440a9b7cee3481c770fcc687b5e4bc15f8..2c3084e852719b7505860cdd411f3581ba067598 100644
--- a/Source/core/svg/SVGRadialGradientElement.cpp
+++ b/Source/core/svg/SVGRadialGradientElement.cpp
@@ -40,8 +40,6 @@ inline SVGRadialGradientElement::SVGRadialGradientElement(Document& document)
, m_fy(SVGAnimatedLength::create(this, SVGNames::fyAttr, SVGLength::create(LengthModeHeight), AllowNegativeLengths))
, m_fr(SVGAnimatedLength::create(this, SVGNames::frAttr, SVGLength::create(LengthModeOther), ForbidNegativeLengths))
{
- ScriptWrappable::init(this);
-
// Spec: If the cx/cy/r attribute is not specified, the effect is as if a value of "50%" were specified.
m_cx->setDefaultValueAsString("50%");
m_cy->setDefaultValueAsString("50%");
@@ -213,4 +211,4 @@ bool SVGRadialGradientElement::selfHasRelativeLengths() const
|| m_fr->currentValue()->isRelative();
}
-}
+} // namespace blink
« no previous file with comments | « Source/core/svg/SVGPreserveAspectRatioTearOff.cpp ('k') | Source/core/svg/SVGRectElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698