Index: Source/core/animation/AnimatableLengthPoint.cpp |
diff --git a/Source/core/animation/AnimatableLengthPoint.cpp b/Source/core/animation/AnimatableLengthPoint.cpp |
index e779699d93dbd2a42d83427d411396906a699500..e46f1a19c97fb54192c7009227ae2219bd225d6e 100644 |
--- a/Source/core/animation/AnimatableLengthPoint.cpp |
+++ b/Source/core/animation/AnimatableLengthPoint.cpp |
@@ -33,7 +33,7 @@ |
namespace WebCore { |
-PassRefPtr<AnimatableValue> AnimatableLengthPoint::interpolateTo(const AnimatableValue* value, double fraction) const |
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthPoint::interpolateTo(const AnimatableValue* value, double fraction) const |
{ |
const AnimatableLengthPoint* lengthPoint = toAnimatableLengthPoint(value); |
return AnimatableLengthPoint::create( |
@@ -41,7 +41,7 @@ PassRefPtr<AnimatableValue> AnimatableLengthPoint::interpolateTo(const Animatabl |
AnimatableValue::interpolate(this->y(), lengthPoint->y(), fraction)); |
} |
-PassRefPtr<AnimatableValue> AnimatableLengthPoint::addWith(const AnimatableValue* value) const |
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthPoint::addWith(const AnimatableValue* value) const |
{ |
const AnimatableLengthPoint* lengthPoint = toAnimatableLengthPoint(value); |
return AnimatableLengthPoint::create( |
@@ -55,4 +55,10 @@ bool AnimatableLengthPoint::equalTo(const AnimatableValue* value) const |
return x()->equals(lengthPoint->x()) && y()->equals(lengthPoint->y()); |
} |
+void AnimatableLengthPoint::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_x); |
+ visitor->trace(m_y); |
+} |
+ |
} |