| Index: third_party/WebKit/Source/core/svg/SVGPath.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGPath.cpp b/third_party/WebKit/Source/core/svg/SVGPath.cpp
|
| index 183731568824a40dc86e501f08751bf6727c00c3..cc82bb4d531ca482cbb1ed771864e41570d847f9 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGPath.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGPath.cpp
|
| @@ -72,7 +72,7 @@ SVGPath::SVGPath()
|
| {
|
| }
|
|
|
| -SVGPath::SVGPath(PassRefPtrWillBeRawPtr<CSSPathValue> pathValue)
|
| +SVGPath::SVGPath(RawPtr<CSSPathValue> pathValue)
|
| : SVGPropertyBase(classType())
|
| , m_pathValue(pathValue)
|
| {
|
| @@ -89,7 +89,7 @@ String SVGPath::valueAsString() const
|
| }
|
|
|
|
|
| -PassRefPtrWillBeRawPtr<SVGPath> SVGPath::clone() const
|
| +RawPtr<SVGPath> SVGPath::clone() const
|
| {
|
| return SVGPath::create(m_pathValue);
|
| }
|
| @@ -102,14 +102,14 @@ SVGParsingError SVGPath::setValueAsString(const String& string)
|
| return parseStatus;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGPath::cloneForAnimation(const String& value) const
|
| +RawPtr<SVGPropertyBase> SVGPath::cloneForAnimation(const String& value) const
|
| {
|
| OwnPtr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
|
| buildByteStreamFromString(value, *byteStream);
|
| return SVGPath::create(CSSPathValue::create(byteStream.release()));
|
| }
|
|
|
| -void SVGPath::add(PassRefPtrWillBeRawPtr<SVGPropertyBase> other, SVGElement*)
|
| +void SVGPath::add(RawPtr<SVGPropertyBase> other, SVGElement*)
|
| {
|
| const SVGPathByteStream& otherPathByteStream = toSVGPath(other)->byteStream();
|
| if (byteStream().size() != otherPathByteStream.size()
|
| @@ -120,7 +120,7 @@ void SVGPath::add(PassRefPtrWillBeRawPtr<SVGPropertyBase> other, SVGElement*)
|
| m_pathValue = CSSPathValue::create(addPathByteStreams(byteStream(), otherPathByteStream));
|
| }
|
|
|
| -void SVGPath::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> fromValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*)
|
| +void SVGPath::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, RawPtr<SVGPropertyBase> fromValue, RawPtr<SVGPropertyBase> toValue, RawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement*)
|
| {
|
| ASSERT(animationElement);
|
| bool isToAnimation = animationElement->getAnimationMode() == ToAnimation;
|
| @@ -167,7 +167,7 @@ void SVGPath::calculateAnimatedValue(SVGAnimationElement* animationElement, floa
|
| m_pathValue = CSSPathValue::create(newStream.release());
|
| }
|
|
|
| -float SVGPath::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> to, SVGElement*)
|
| +float SVGPath::calculateDistance(RawPtr<SVGPropertyBase> to, SVGElement*)
|
| {
|
| // FIXME: Support paced animations.
|
| return -1;
|
|
|