| Index: Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
|
| diff --git a/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp b/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
|
| index 716a643a9a16385711e0ef9dcee351683be5d1b0..d2f2867c9558599906222d12b6e4bfab2367f44c 100644
|
| --- a/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
|
| +++ b/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
|
| @@ -42,7 +42,7 @@ bool SVGStrokeDasharrayStyleInterpolation::canCreateFrom(const CSSValue& value)
|
| const CSSValueList& valueList = toCSSValueList(value);
|
|
|
| for (size_t index = 0; index < valueList.length(); ++index) {
|
| - if (!LengthStyleInterpolation::canCreateFrom(*valueList.item(index)))
|
| + if (!LengthStyleInterpolation::canCreateFrom(valueList.item(index)))
|
| return false;
|
| }
|
| return true;
|
| @@ -65,8 +65,8 @@ PassRefPtrWillBeRawPtr<SVGStrokeDasharrayStyleInterpolation> SVGStrokeDasharrayS
|
| OwnPtrWillBeRawPtr<InterpolableList> interpolableEnd = InterpolableList::create(size);
|
|
|
| for (size_t i = 0; i < size; ++i) {
|
| - const CSSPrimitiveValue& from = *toCSSPrimitiveValue(valueListStart.item(i % valueListStart.length()));
|
| - const CSSPrimitiveValue& to = *toCSSPrimitiveValue(valueListEnd.item(i % valueListEnd.length()));
|
| + const CSSValue from = valueListStart.item(i % valueListStart.length());
|
| + const CSSValue to = valueListEnd.item(i % valueListEnd.length());
|
|
|
| interpolableStart->set(i, LengthStyleInterpolation::toInterpolableValue(from));
|
| interpolableEnd->set(i, LengthStyleInterpolation::toInterpolableValue(to));
|
| @@ -76,7 +76,7 @@ PassRefPtrWillBeRawPtr<SVGStrokeDasharrayStyleInterpolation> SVGStrokeDasharrayS
|
|
|
| void SVGStrokeDasharrayStyleInterpolation::apply(StyleResolverState& state) const
|
| {
|
| - StyleBuilder::applyProperty(m_id, state, interpolableValueToStrokeDasharray(*m_cachedValue).get());
|
| + StyleBuilder::applyProperty(m_id, state, interpolableValueToStrokeDasharray(*m_cachedValue));
|
| }
|
|
|
| }
|
|
|