Chromium Code Reviews| 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..9baa811f2c1f63d5550b0ecd1583a83abfce7394 100644 |
| --- a/third_party/WebKit/Source/core/svg/SVGLength.cpp |
| +++ b/third_party/WebKit/Source/core/svg/SVGLength.cpp |
| @@ -79,9 +79,7 @@ float SVGLength::value(const SVGLengthContext& context) const |
| void SVGLength::setValue(float value, const SVGLengthContext& context) |
|
fs
2016/07/01 09:08:05
This method is used in a few more places besides S
Shanmuga Pandi
2016/07/01 10:27:13
Done.
|
| { |
| - m_value = CSSPrimitiveValue::create( |
| - context.convertValueFromUserUnits(value, unitMode(), m_value->typeWithCalcResolved()), |
| - m_value->typeWithCalcResolved()); |
| + m_value = CSSPrimitiveValue::create(value, CSSPrimitiveValue::UnitType::UserUnits); |
| } |
| bool isSupportedCSSUnitType(CSSPrimitiveValue::UnitType type) |