Index: Source/core/svg/SVGLengthContext.cpp |
diff --git a/Source/core/svg/SVGLengthContext.cpp b/Source/core/svg/SVGLengthContext.cpp |
index d3c537291c19a43229131a3c3e7700ba6bac1d93..4f229d37b1ff000f0601d32346b4a59b73e4cd05 100644 |
--- a/Source/core/svg/SVGLengthContext.cpp |
+++ b/Source/core/svg/SVGLengthContext.cpp |
@@ -35,11 +35,11 @@ namespace blink { |
static inline float dimensionForLengthMode(SVGLengthMode mode, const FloatSize& viewportSize) |
{ |
switch (mode) { |
- case LengthModeWidth: |
+ case SVGLengthMode::Width: |
return viewportSize.width(); |
- case LengthModeHeight: |
+ case SVGLengthMode::Height: |
return viewportSize.height(); |
- case LengthModeOther: |
+ case SVGLengthMode::Other: |
return sqrtf(viewportSize.diagonalLengthSquared() / 2); |
} |
ASSERT_NOT_REACHED(); |