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

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
« no previous file with comments | « Source/core/animation/AnimatableTransform.h ('k') | Source/core/animation/AnimatableUnknown.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimatableTransform.cpp
diff --git a/Source/core/animation/AnimatableTransform.cpp b/Source/core/animation/AnimatableTransform.cpp
index 542d8c315b043fb410c741a6bee406ad7780cb92..7b05ef75b05b92054c4adf63530a1a8aa65c6dc4 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));
« no previous file with comments | « Source/core/animation/AnimatableTransform.h ('k') | Source/core/animation/AnimatableUnknown.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698