diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/animation/AnimatableTransform.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/animation/AnimatableTransform.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/chromium/third_party/WebKit/Source/core/animation/AnimatableTransform.cpp b/chromium/third_party/WebKit/Source/core/animation/AnimatableTransform.cpp index 542d8c315b0..98ea3e19930 100644 --- a/chromium/third_party/WebKit/Source/core/animation/AnimatableTransform.cpp +++ b/chromium/third_party/WebKit/Source/core/animation/AnimatableTransform.cpp @@ -33,23 +33,17 @@ 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 -{ - const AnimatableTransform* transform = toAnimatableTransform(value); - return AnimatableTransform::create(m_transform.add(transform->m_transform)); -} - bool AnimatableTransform::equalTo(const AnimatableValue* value) const { return m_transform == toAnimatableTransform(value)->m_transform; |