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

Unified Diff: Source/core/animation/animatable/AnimatableTransform.cpp

Issue 1120003002: [Oilpan] Migrate most classes under core/animations to Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 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/animatable/AnimatableTransform.cpp
diff --git a/Source/core/animation/animatable/AnimatableTransform.cpp b/Source/core/animation/animatable/AnimatableTransform.cpp
index c063ccf44a7c25b40be9d4f56996f9a39e4337c6..d541949087109919c21afdd544dbab13441d96f0 100644
--- a/Source/core/animation/animatable/AnimatableTransform.cpp
+++ b/Source/core/animation/animatable/AnimatableTransform.cpp
@@ -33,12 +33,12 @@
namespace blink {
-PassRefPtrWillBeRawPtr<AnimatableTransform> AnimatableTransform::create(const TransformOperations& transform)
+AnimatableTransform* AnimatableTransform::create(const TransformOperations& transform)
{
- return adoptRefWillBeNoop(new AnimatableTransform(transform));
+ return new AnimatableTransform(transform);
}
-PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableTransform::interpolateTo(const AnimatableValue* value, double fraction) const
+AnimatableValue* AnimatableTransform::interpolateTo(const AnimatableValue* value, double fraction) const
{
const AnimatableTransform* transform = toAnimatableTransform(value);
return AnimatableTransform::create(transform->m_transform.blend(m_transform, fraction));
« no previous file with comments | « Source/core/animation/animatable/AnimatableTransform.h ('k') | Source/core/animation/animatable/AnimatableUnknown.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698