Index: Source/core/svg/SVGLengthTearOff.h |
diff --git a/Source/core/svg/SVGLengthTearOff.h b/Source/core/svg/SVGLengthTearOff.h |
index 55feeec41df7853d6a225fb7c3bcd607a33dd1e5..8714f7b55585c9583b62679225030f03d9f37db7 100644 |
--- a/Source/core/svg/SVGLengthTearOff.h |
+++ b/Source/core/svg/SVGLengthTearOff.h |
@@ -71,6 +71,8 @@ public: |
void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionState&); |
void convertToSpecifiedUnits(unsigned short unitType, ExceptionState&); |
+ bool hasExposedLengthUnit() { return target()->unitType() <= LengthTypePC; } |
+ |
private: |
SVGLengthTearOff(PassRefPtrWillBeRawPtr<SVGLength>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName = QualifiedName::null()); |
}; |