| Index: Source/core/svg/SVGLengthContext.h
|
| diff --git a/Source/core/svg/SVGLengthContext.h b/Source/core/svg/SVGLengthContext.h
|
| index f8c2231290211737ceb6f7675a4239e66a30d1d7..4fa7ed24375664900ae2a6222d59660870fe50bf 100644
|
| --- a/Source/core/svg/SVGLengthContext.h
|
| +++ b/Source/core/svg/SVGLengthContext.h
|
| @@ -44,10 +44,10 @@ enum SVGLengthType {
|
| LengthTypePC
|
| };
|
|
|
| -enum SVGLengthMode {
|
| - LengthModeWidth = 0,
|
| - LengthModeHeight,
|
| - LengthModeOther
|
| +enum class SVGLengthMode {
|
| + Width,
|
| + Height,
|
| + Other
|
| };
|
|
|
| class SVGLengthContext {
|
| @@ -68,7 +68,7 @@ public:
|
| float convertValueToUserUnits(float, SVGLengthMode, SVGLengthType fromUnit) const;
|
| float convertValueFromUserUnits(float, SVGLengthMode, SVGLengthType toUnit) const;
|
|
|
| - float valueForLength(const Length&, const LayoutStyle&, SVGLengthMode = LengthModeOther) const;
|
| + float valueForLength(const Length&, const LayoutStyle&, SVGLengthMode = SVGLengthMode::Other) const;
|
|
|
| bool determineViewport(FloatSize&) const;
|
|
|
|
|