| Index: third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp
|
| index 8195ba31d72b8fc707b5efdb782109c974cf9932..059f35b388e618bfc840908ea092def40544027c 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPreserveAspectRatioTearOff.cpp
|
| @@ -38,7 +38,7 @@ namespace blink {
|
|
|
| void SVGPreserveAspectRatioTearOff::setAlign(unsigned short align, ExceptionState& exceptionState)
|
| {
|
| - if (align == SVG_PRESERVEASPECTRATIO_UNKNOWN || align > SVG_PRESERVEASPECTRATIO_XMAXYMAX) {
|
| + if (align == kSvgPreserveaspectratioUnknown || align > kSvgPreserveaspectratioXmaxymax) {
|
| exceptionState.throwDOMException(NotSupportedError, "The alignment provided is invalid.");
|
| return;
|
| }
|
| @@ -53,7 +53,7 @@ void SVGPreserveAspectRatioTearOff::setAlign(unsigned short align, ExceptionStat
|
|
|
| void SVGPreserveAspectRatioTearOff::setMeetOrSlice(unsigned short meetOrSlice, ExceptionState& exceptionState)
|
| {
|
| - if (meetOrSlice == SVG_MEETORSLICE_UNKNOWN || meetOrSlice > SVG_MEETORSLICE_SLICE) {
|
| + if (meetOrSlice == kSvgMeetorsliceUnknown || meetOrSlice > kSvgMeetorsliceSlice) {
|
| exceptionState.throwDOMException(NotSupportedError, "The meetOrSlice provided is invalid.");
|
| return;
|
| }
|
|
|