Chromium Code Reviews| Index: Source/core/animation/DeferredLegacyStyleInterpolation.cpp |
| diff --git a/Source/core/animation/DeferredLegacyStyleInterpolation.cpp b/Source/core/animation/DeferredLegacyStyleInterpolation.cpp |
| index 633bde71ffc4205b506745da5baadd0ec4544dcd..e237c1695df3262cb7a98df659488ac78bba5769 100644 |
| --- a/Source/core/animation/DeferredLegacyStyleInterpolation.cpp |
| +++ b/Source/core/animation/DeferredLegacyStyleInterpolation.cpp |
| @@ -58,7 +58,8 @@ bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const C |
| if (primitiveValue.isCalculated()) { |
| CSSLengthArray lengthArray(CSSPrimitiveValue::LengthUnitTypeCount); |
| - primitiveValue.accumulateLengthArray(lengthArray); |
| + CSSLengthTypeArray lengthTypeArray(CSSPrimitiveValue::LengthUnitTypeCount); |
| + primitiveValue.accumulateLengthArray(lengthArray, lengthTypeArray); |
|
samli
2014/12/22 03:38:04
lengthTypeArray not used here
|
| return lengthArray[CSSPrimitiveValue::UnitTypeFontSize] != 0 |
| || lengthArray[CSSPrimitiveValue::UnitTypeFontXSize] != 0 |
| || lengthArray[CSSPrimitiveValue::UnitTypeRootFontSize] != 0 |