| Index: third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGLength.cpp b/third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| index 8d66d974af40ea2aa6faf4d7a18ca2a7ebf75b5a..baca6224015d143522ff80038003daa4c906a100 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGLength.cpp
|
| @@ -77,6 +77,11 @@ float SVGLength::value(const SVGLengthContext& context) const
|
| m_value->getFloatValue(), unitMode(), m_value->typeWithCalcResolved());
|
| }
|
|
|
| +void SVGLength::setValueAsNumber(float value)
|
| +{
|
| + m_value = CSSPrimitiveValue::create(value, CSSPrimitiveValue::UnitType::UserUnits);
|
| +}
|
| +
|
| void SVGLength::setValue(float value, const SVGLengthContext& context)
|
| {
|
| m_value = CSSPrimitiveValue::create(
|
|
|