Index: third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
index 5e590855f79323694f409b375e8431e6c64cb143..1d5466216edc8befbb4d3e1bf72609a2378506a1 100644 |
--- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
+++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp |
@@ -632,7 +632,7 @@ PassRefPtr<Interpolation> SVGPropertySpecificKeyframe::maybeCreateInterpolation( |
return InvalidatableInterpolation::create(*applicableTypes, *this, end); |
ASSERT(element); |
- RefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute = toSVGElement(element)->propertyFromAttribute(propertyHandle.svgAttribute()); |
+ SVGAnimatedPropertyBase* attribute = toSVGElement(element)->propertyFromAttribute(propertyHandle.svgAttribute()); |
ASSERT(attribute); |
RefPtrWillBeRawPtr<SVGPropertyBase> fromValue = attribute->currentValueBase()->cloneForAnimation(m_value); |
@@ -641,7 +641,7 @@ PassRefPtr<Interpolation> SVGPropertySpecificKeyframe::maybeCreateInterpolation( |
if (!fromValue || !toValue) |
return nullptr; |
- return createSVGInterpolation(fromValue.get(), toValue.get(), attribute.get()); |
+ return createSVGInterpolation(fromValue.get(), toValue.get(), attribute); |
} |
} // namespace blink |