Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: Source/core/animation/AnimatableLengthPoint.cpp

Issue 204743002: Oilpan: Move AnimatableValue's hierarchy to oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/animation/AnimatableLengthPoint.h ('k') | Source/core/animation/AnimatableLengthSize.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+}
+
}
« no previous file with comments | « Source/core/animation/AnimatableLengthPoint.h ('k') | Source/core/animation/AnimatableLengthSize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698