| Index: third_party/WebKit/Source/core/svg/SVGLengthTearOff.h
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.h b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.h
|
| index 8714f7b55585c9583b62679225030f03d9f37db7..0de7bd02381d5249be5f14fc895b4302234eb643 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGLengthTearOff.h
|
| +++ b/third_party/WebKit/Source/core/svg/SVGLengthTearOff.h
|
| @@ -32,6 +32,7 @@
|
| #define SVGLengthTearOff_h
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| +#include "core/css/CSSPrimitiveValue.h"
|
| #include "core/svg/SVGLength.h"
|
| #include "core/svg/properties/SVGPropertyTearOff.h"
|
|
|
| @@ -71,7 +72,7 @@ public:
|
| void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState&);
|
| void convertToSpecifiedUnits(unsigned short unitType, ExceptionState&);
|
|
|
| - bool hasExposedLengthUnit() { return target()->unitType() <= LengthTypePC; }
|
| + bool hasExposedLengthUnit() { return target()->typeWithCalcResolved() <= CSSPrimitiveValue::UnitType::UserCoordinates; }
|
|
|
| private:
|
| SVGLengthTearOff(PassRefPtrWillBeRawPtr<SVGLength>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
|
|
|