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

Unified Diff: Source/core/svg/LinearGradientAttributes.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/layout/svg/SVGPathData.cpp ('k') | Source/core/svg/PatternAttributes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/LinearGradientAttributes.h
diff --git a/Source/core/svg/LinearGradientAttributes.h b/Source/core/svg/LinearGradientAttributes.h
index f10e8aa4bd15f3779111e408a423015658bd4ead..79e442a1a083f57351c8710a6dad74eb33576b00 100644
--- a/Source/core/svg/LinearGradientAttributes.h
+++ b/Source/core/svg/LinearGradientAttributes.h
@@ -29,10 +29,10 @@ struct LinearGradientAttributes : GradientAttributes {
DISALLOW_ALLOCATION();
public:
LinearGradientAttributes()
- : m_x1(SVGLength::create(LengthModeWidth))
- , m_y1(SVGLength::create(LengthModeWidth))
- , m_x2(SVGLength::create(LengthModeWidth))
- , m_y2(SVGLength::create(LengthModeWidth))
+ : m_x1(SVGLength::create(SVGLengthMode::Width))
+ , m_y1(SVGLength::create(SVGLengthMode::Height))
+ , m_x2(SVGLength::create(SVGLengthMode::Width))
+ , m_y2(SVGLength::create(SVGLengthMode::Height))
, m_x1Set(false)
, m_y1Set(false)
, m_x2Set(false)
« no previous file with comments | « Source/core/layout/svg/SVGPathData.cpp ('k') | Source/core/svg/PatternAttributes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698