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

Unified Diff: Source/core/animation/AnimatableTransform.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/AnimatableTransform.cpp
diff --git a/Source/core/animation/AnimatableTransform.cpp b/Source/core/animation/AnimatableTransform.cpp
index 542d8c315b043fb410c741a6bee406ad7780cb92..8291e7a09afd2fc63eed7844d4c2c51c221d3496 100644
--- a/Source/core/animation/AnimatableTransform.cpp
+++ b/Source/core/animation/AnimatableTransform.cpp
@@ -33,18 +33,18 @@
namespace WebCore {
-PassRefPtr<AnimatableTransform> AnimatableTransform::create(const TransformOperations& transform)
+PassRefPtrWillBeRawPtr<AnimatableTransform> AnimatableTransform::create(const TransformOperations& transform)
{
- return adoptRef(new AnimatableTransform(transform));
+ return adoptRefWillBeNoop(new AnimatableTransform(transform));
}
-PassRefPtr<AnimatableValue> AnimatableTransform::interpolateTo(const AnimatableValue* value, double fraction) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableTransform::interpolateTo(const AnimatableValue* value, double fraction) const
{
const AnimatableTransform* transform = toAnimatableTransform(value);
return AnimatableTransform::create(transform->m_transform.blend(m_transform, fraction));
}
-PassRefPtr<AnimatableValue> AnimatableTransform::addWith(const AnimatableValue* value) const
+PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableTransform::addWith(const AnimatableValue* value) const
{
const AnimatableTransform* transform = toAnimatableTransform(value);
return AnimatableTransform::create(m_transform.add(transform->m_transform));
@@ -55,5 +55,10 @@ bool AnimatableTransform::equalTo(const AnimatableValue* value) const
return m_transform == toAnimatableTransform(value)->m_transform;
}
+void AnimatableTransform::trace(Visitor* visitor)
+{
+ AnimatableValue::trace(visitor);
+}
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698