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 171cd286aa7514b5fbc16b5c07135170c4fda246..39bb57fdbec4749da32330bf05a82ad84891514f 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLength.h |
+++ b/third_party/WebKit/Source/core/svg/SVGLength.h |
@@ -53,10 +53,6 @@ public: |
PassRefPtrWillBeRawPtr<SVGPropertyBase> cloneForAnimation(const String&) const override; |
CSSPrimitiveValue::UnitType typeWithCalcResolved() const { return m_value->typeWithCalcResolved(); } |
- CSSPrimitiveValue::UnitType cssUnitTypeQuirk() const |
- { |
- return m_value->typeWithCalcResolved(); |
- } |
void setUnitType(CSSPrimitiveValue::UnitType); |
SVGLengthMode unitMode() const { return static_cast<SVGLengthMode>(m_unitMode); } |
@@ -72,6 +68,8 @@ public: |
m_value = CSSPrimitiveValue::create(value, m_value->typeWithCalcResolved()); |
} |
+ CSSPrimitiveValue* asCSSPrimitiveValue() const { return m_value.get(); } |
+ |
// Resolves LengthTypePercentage into a normalized floating point number (full value is 1.0). |
float valueAsPercentage() const; |