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

Unified Diff: Source/core/animation/AnimatableLengthBoxAndBool.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/AnimatableLengthBoxAndBool.h ('k') | Source/core/animation/AnimatableLengthPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableLengthBoxAndBool.cpp
diff --git a/Source/core/animation/AnimatableLengthBoxAndBool.cpp b/Source/core/animation/AnimatableLengthBoxAndBool.cpp
index b4112a5ed2d51cf162ad095f5076d5b625964800..7da8a82405699fe792b7dc6d67e8d7bfe00e2d14 100644
--- a/Source/core/animation/AnimatableLengthBoxAndBool.cpp
+++ b/Source/core/animation/AnimatableLengthBoxAndBool.cpp
@@ -41,7 +41,7 @@ bool AnimatableLengthBoxAndBool::usesDefaultInterpolationWith(const AnimatableVa
return AnimatableValue::usesDefaultInterpolation(lengthBox->box(), box());
}
-PassRefPtr<AnimatableValue> AnimatableLengthBoxAndBool::interpolateTo(const AnimatableValue* value, double fraction) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthBoxAndBool::interpolateTo(const AnimatableValue* value, double fraction) const
{
const AnimatableLengthBoxAndBool* lengthBox = toAnimatableLengthBoxAndBool(value);
if (lengthBox->flag() == flag()) {
@@ -52,7 +52,7 @@ PassRefPtr<AnimatableValue> AnimatableLengthBoxAndBool::interpolateTo(const Anim
return defaultInterpolateTo(this, value, fraction);
}
-PassRefPtr<AnimatableValue> AnimatableLengthBoxAndBool::addWith(const AnimatableValue* value) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableLengthBoxAndBool::addWith(const AnimatableValue* value) const
{
const AnimatableLengthBoxAndBool* lengthBox = toAnimatableLengthBoxAndBool(value);
if (lengthBox->flag() == flag()) {
@@ -69,4 +69,9 @@ bool AnimatableLengthBoxAndBool::equalTo(const AnimatableValue* value) const
return box()->equals(lengthBox->box()) && flag() == lengthBox->flag();
}
+void AnimatableLengthBoxAndBool::trace(Visitor* visitor)
+{
+ visitor->trace(m_box);
+}
+
}
« no previous file with comments | « Source/core/animation/AnimatableLengthBoxAndBool.h ('k') | Source/core/animation/AnimatableLengthPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698