Index: third_party/WebKit/Source/core/svg/SVGLengthContext.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGLengthContext.cpp b/third_party/WebKit/Source/core/svg/SVGLengthContext.cpp |
index 7422e3dd0357ba2bb200f3b4b8036c85c666885c..de0637a6cd441858d986b78b513aac63967c9431 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGLengthContext.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGLengthContext.cpp |
@@ -257,7 +257,7 @@ float SVGLengthContext::convertValueToUserUnits( |
float value, |
SVGLengthMode mode, |
CSSPrimitiveValue::UnitType fromUnit) const { |
- float userUnits = value; |
+ double userUnits = value; |
switch (fromUnit) { |
case CSSPrimitiveValue::UnitType::Pixels: |
case CSSPrimitiveValue::UnitType::Number: |