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

Unified Diff: Source/core/svg/PatternAttributes.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/LinearGradientAttributes.h ('k') | Source/core/svg/RadialGradientAttributes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/PatternAttributes.h
diff --git a/Source/core/svg/PatternAttributes.h b/Source/core/svg/PatternAttributes.h
index 6bd46240923aa315d2bb1f2e7d6735cb2510f6e1..757ce96328be1d9fb8cee6bb069abef07402bdc9 100644
--- a/Source/core/svg/PatternAttributes.h
+++ b/Source/core/svg/PatternAttributes.h
@@ -33,10 +33,10 @@ class PatternAttributes final {
DISALLOW_ALLOCATION();
public:
PatternAttributes()
- : m_x(SVGLength::create(LengthModeWidth))
- , m_y(SVGLength::create(LengthModeHeight))
- , m_width(SVGLength::create(LengthModeWidth))
- , m_height(SVGLength::create(LengthModeHeight))
+ : m_x(SVGLength::create(SVGLengthMode::Width))
+ , m_y(SVGLength::create(SVGLengthMode::Height))
+ , m_width(SVGLength::create(SVGLengthMode::Width))
+ , m_height(SVGLength::create(SVGLengthMode::Height))
, m_viewBox()
, m_preserveAspectRatio(SVGPreserveAspectRatio::create())
, m_patternUnits(SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX)
« no previous file with comments | « Source/core/svg/LinearGradientAttributes.h ('k') | Source/core/svg/RadialGradientAttributes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698