| Index: Source/core/svg/SVGLengthTearOff.h
|
| diff --git a/Source/core/svg/SVGLengthTearOff.h b/Source/core/svg/SVGLengthTearOff.h
|
| index 8714f7b55585c9583b62679225030f03d9f37db7..a94130dea3b5e0ed64fba138b2479ce4dcfa6e13 100644
|
| --- a/Source/core/svg/SVGLengthTearOff.h
|
| +++ b/Source/core/svg/SVGLengthTearOff.h
|
| @@ -32,9 +32,11 @@
|
| #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"
|
|
|
| +
|
| namespace blink {
|
|
|
| class SVGLengthTearOff final : public SVGPropertyTearOff<SVGLength>, public ScriptWrappable {
|
| @@ -71,7 +73,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()->primitiveType() <= CSSPrimitiveValue::CSS_PC; }
|
|
|
| private:
|
| SVGLengthTearOff(PassRefPtrWillBeRawPtr<SVGLength>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null());
|
|
|