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

Unified Diff: Source/core/animation/AnimatableDouble.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/AnimatableDouble.h ('k') | Source/core/animation/AnimatableDoubleTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableDouble.cpp
diff --git a/Source/core/animation/AnimatableDouble.cpp b/Source/core/animation/AnimatableDouble.cpp
index 77d80f71ad2c6dd46a2342d50d1cd205d5431008..4c54dc0d3bdf7f162ca8716ac6760d2153c5e3d5 100644
--- a/Source/core/animation/AnimatableDouble.cpp
+++ b/Source/core/animation/AnimatableDouble.cpp
@@ -49,7 +49,7 @@ bool AnimatableDouble::usesDefaultInterpolationWith(const AnimatableValue* value
return (m_constraint == InterpolationIsNonContinuousWithZero) && (!m_number || !other->m_number);
}
-PassRefPtr<AnimatableValue> AnimatableDouble::interpolateTo(const AnimatableValue* value, double fraction) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableDouble::interpolateTo(const AnimatableValue* value, double fraction) const
{
const AnimatableDouble* other = toAnimatableDouble(value);
ASSERT(m_constraint == other->m_constraint);
@@ -58,7 +58,7 @@ PassRefPtr<AnimatableValue> AnimatableDouble::interpolateTo(const AnimatableValu
return AnimatableDouble::create(blend(m_number, other->m_number, fraction));
}
-PassRefPtr<AnimatableValue> AnimatableDouble::addWith(const AnimatableValue* value) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableDouble::addWith(const AnimatableValue* value) const
{
// Optimization for adding with 0.
if (!m_number)
« no previous file with comments | « Source/core/animation/AnimatableDouble.h ('k') | Source/core/animation/AnimatableDoubleTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698