| Index: Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
|
| diff --git a/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp b/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
|
| index ffb4822c9f0c4f9d61343d26f8463ef58039106b..8f0670c7f264cc2b3b12cdcf681474c8c4d0c211 100644
|
| --- a/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
|
| +++ b/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp
|
| @@ -48,7 +48,7 @@ bool SVGStrokeDasharrayStyleInterpolation::canCreateFrom(const CSSValue& value)
|
| return true;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<SVGStrokeDasharrayStyleInterpolation> SVGStrokeDasharrayStyleInterpolation::maybeCreate(const CSSValue& start, const CSSValue& end, CSSPropertyID id)
|
| +PassRefPtr<SVGStrokeDasharrayStyleInterpolation> SVGStrokeDasharrayStyleInterpolation::maybeCreate(const CSSValue& start, const CSSValue& end, CSSPropertyID id)
|
| {
|
| if (!canCreateFrom(start) || !canCreateFrom(end))
|
| return nullptr;
|
| @@ -61,8 +61,8 @@ PassRefPtrWillBeRawPtr<SVGStrokeDasharrayStyleInterpolation> SVGStrokeDasharrayS
|
| size_t size = lowestCommonMultiple(valueListStart.length(), valueListEnd.length());
|
| ASSERT(size > 0);
|
|
|
| - OwnPtrWillBeRawPtr<InterpolableList> interpolableStart = InterpolableList::create(size);
|
| - OwnPtrWillBeRawPtr<InterpolableList> interpolableEnd = InterpolableList::create(size);
|
| + OwnPtr<InterpolableList> interpolableStart = InterpolableList::create(size);
|
| + OwnPtr<InterpolableList> interpolableEnd = InterpolableList::create(size);
|
|
|
| for (size_t i = 0; i < size; ++i) {
|
| const CSSPrimitiveValue& from = *toCSSPrimitiveValue(valueListStart.item(i % valueListStart.length()));
|
| @@ -71,7 +71,7 @@ PassRefPtrWillBeRawPtr<SVGStrokeDasharrayStyleInterpolation> SVGStrokeDasharrayS
|
| interpolableStart->set(i, LengthStyleInterpolation::toInterpolableValue(from));
|
| interpolableEnd->set(i, LengthStyleInterpolation::toInterpolableValue(to));
|
| }
|
| - return adoptRefWillBeNoop(new SVGStrokeDasharrayStyleInterpolation(interpolableStart.release(), interpolableEnd.release(), id));
|
| + return adoptRef(new SVGStrokeDasharrayStyleInterpolation(interpolableStart.release(), interpolableEnd.release(), id));
|
| }
|
|
|
| void SVGStrokeDasharrayStyleInterpolation::apply(StyleResolverState& state) const
|
|
|