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

Unified Diff: Source/core/animation/AnimatableImage.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
Index: Source/core/animation/AnimatableImage.cpp
diff --git a/Source/core/animation/AnimatableImage.cpp b/Source/core/animation/AnimatableImage.cpp
index d67c9b4fab7ae71513f9b946d9f92c82ab7b986f..03a3c99bde9d0774043f22bd6280830cab3264e7 100644
--- a/Source/core/animation/AnimatableImage.cpp
+++ b/Source/core/animation/AnimatableImage.cpp
@@ -47,7 +47,7 @@ bool AnimatableImage::usesDefaultInterpolationWith(const AnimatableValue* value)
return false;
}
-PassRefPtr<AnimatableValue> AnimatableImage::interpolateTo(const AnimatableValue* value, double fraction) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableImage::interpolateTo(const AnimatableValue* value, double fraction) const
{
if (fraction <= 0 || fraction >= 1 || usesDefaultInterpolationWith(value))
return defaultInterpolateTo(this, value, fraction);
@@ -60,7 +60,7 @@ PassRefPtr<AnimatableValue> AnimatableImage::interpolateTo(const AnimatableValue
return create(crossfadeValue);
}
-PassRefPtr<AnimatableValue> AnimatableImage::addWith(const AnimatableValue* value) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableImage::addWith(const AnimatableValue* value) const
{
// FIXME: Correct procedure is defined here: http://dev.w3.org/fxtf/web-animations/#the--image--type
return defaultAddWith(this, value);
@@ -71,4 +71,9 @@ bool AnimatableImage::equalTo(const AnimatableValue* value) const
return m_value->equals(*toAnimatableImage(value)->m_value.get());
}
+void AnimatableImage::trace(Visitor* visitor)
+{
+ AnimatableValue::trace(visitor);
+}
+
}

Powered by Google App Engine
This is Rietveld 408576698