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

Unified Diff: Source/core/svg/RadialGradientAttributes.h

Issue 966923003: Make SVGLengthMode an enum class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/PatternAttributes.h ('k') | Source/core/svg/SVGAnimatedTypeAnimator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/RadialGradientAttributes.h
diff --git a/Source/core/svg/RadialGradientAttributes.h b/Source/core/svg/RadialGradientAttributes.h
index f82021b502fbd2ce6621553c6920b7d01ce878eb..52ff1ed15a47ea470bb427d17fcb87d9e2c9af28 100644
--- a/Source/core/svg/RadialGradientAttributes.h
+++ b/Source/core/svg/RadialGradientAttributes.h
@@ -27,12 +27,12 @@ struct RadialGradientAttributes final : GradientAttributes {
DISALLOW_ALLOCATION();
public:
RadialGradientAttributes()
- : m_cx(SVGLength::create(LengthModeWidth))
- , m_cy(SVGLength::create(LengthModeHeight))
- , m_r(SVGLength::create(LengthModeOther))
- , m_fx(SVGLength::create(LengthModeWidth))
- , m_fy(SVGLength::create(LengthModeHeight))
- , m_fr(SVGLength::create(LengthModeOther))
+ : m_cx(SVGLength::create(SVGLengthMode::Width))
+ , m_cy(SVGLength::create(SVGLengthMode::Height))
+ , m_r(SVGLength::create(SVGLengthMode::Other))
+ , m_fx(SVGLength::create(SVGLengthMode::Width))
+ , m_fy(SVGLength::create(SVGLengthMode::Height))
+ , m_fr(SVGLength::create(SVGLengthMode::Other))
, m_cxSet(false)
, m_cySet(false)
, m_rSet(false)
« no previous file with comments | « Source/core/svg/PatternAttributes.h ('k') | Source/core/svg/SVGAnimatedTypeAnimator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698