Index: third_party/WebKit/Source/core/svg/SVGLength.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGLength.h b/third_party/WebKit/Source/core/svg/SVGLength.h |
index 089e8f8f1af11673dc44bbc561833d47806c4ba2..85a79b91adf2bb078f13d80a04da9d1df22554f1 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLength.h |
+++ b/third_party/WebKit/Source/core/svg/SVGLength.h |
@@ -56,6 +56,7 @@ public: |
float value(const SVGLengthContext&) const; |
void setValue(float, const SVGLengthContext&); |
+ void setValueAsNumber(float); |
float valueInSpecifiedUnits() const { return m_value->getFloatValue(); } |
void setValueInSpecifiedUnits(float value) |
@@ -82,6 +83,7 @@ public: |
// Helper functions |
inline bool isRelative() const { return CSSPrimitiveValue::isRelativeUnit(m_value->typeWithCalcResolved()); } |
+ inline bool isCalculated() const { return m_value->isCalculated(); } |
bool isZero() const |
{ |