Index: third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp |
index 54996390d12205474a717055e30bb1efb70d448d..9435bbab39acad1d8f0e2e6f36c6d632ff140945 100644 |
--- a/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/CSSFontSizeInterpolationType.cpp |
@@ -117,7 +117,7 @@ InterpolationValue CSSFontSizeInterpolationType::maybeConvertUnderlyingValue(con |
void CSSFontSizeInterpolationType::apply(const InterpolableValue& interpolableValue, const NonInterpolableValue*, InterpolationEnvironment& environment) const |
{ |
const FontDescription& parentFont = environment.state().parentFontDescription(); |
- Length fontSizeLength = CSSLengthInterpolationType::resolveInterpolableLength(interpolableValue, nullptr, environment.state().fontSizeConversionData(), ValueRangeNonNegative); |
+ Length fontSizeLength = CSSLengthInterpolationType::createLength(interpolableValue, nullptr, environment.state().fontSizeConversionData(), ValueRangeNonNegative); |
float fontSize = floatValueForLength(fontSizeLength, parentFont.getSize().value); |
environment.state().fontBuilder().setSize(FontDescription::Size(0, fontSize, !fontSizeLength.hasPercent() || parentFont.isAbsoluteSize())); |
} |