Index: Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp |
diff --git a/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp b/Source/core/animation/SVGStrokeDasharrayStyleInterpolation.cpp |
index ffb4822c9f0c4f9d61343d26f8463ef58039106b..844fd68d5a269b7a150f6c7a099dce4519cf0fb7 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) |
+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); |
+ InterpolableList* interpolableStart = InterpolableList::create(size); |
+ 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 new SVGStrokeDasharrayStyleInterpolation(interpolableStart, interpolableEnd, id); |
} |
void SVGStrokeDasharrayStyleInterpolation::apply(StyleResolverState& state) const |