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

Unified Diff: Source/core/animation/animatable/AnimatableLengthPoint3D.h

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/AnimatableLengthPoint3D.h
diff --git a/Source/core/animation/animatable/AnimatableLengthPoint3D.h b/Source/core/animation/animatable/AnimatableLengthPoint3D.h
index 9e93aefbaa1f2786a65f952668f1478abebd2977..0bdfb76eca5b279be949e7aa0a342d33f62cf77c 100644
--- a/Source/core/animation/animatable/AnimatableLengthPoint3D.h
+++ b/Source/core/animation/animatable/AnimatableLengthPoint3D.h
@@ -38,21 +38,21 @@ namespace blink {
class AnimatableLengthPoint3D final : public AnimatableValue {
public:
~AnimatableLengthPoint3D() override { }
- static PassRefPtrWillBeRawPtr<AnimatableLengthPoint3D> create(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y, PassRefPtrWillBeRawPtr<AnimatableValue> z)
+ static AnimatableLengthPoint3D* create(AnimatableValue* x, AnimatableValue* y, AnimatableValue* z)
{
- return adoptRefWillBeNoop(new AnimatableLengthPoint3D(x, y, z));
+ return new AnimatableLengthPoint3D(x, y, z);
}
- const AnimatableValue* x() const { return m_x.get(); }
- const AnimatableValue* y() const { return m_y.get(); }
- const AnimatableValue* z() const { return m_z.get(); }
+ const AnimatableValue* x() const { return m_x; }
+ const AnimatableValue* y() const { return m_y; }
+ const AnimatableValue* z() const { return m_z; }
DECLARE_VIRTUAL_TRACE();
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override;
private:
- AnimatableLengthPoint3D(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y, PassRefPtrWillBeRawPtr<AnimatableValue> z)
+ AnimatableLengthPoint3D(AnimatableValue* x, AnimatableValue* y, AnimatableValue* z)
: m_x(x)
, m_y(y)
, m_z(z)
@@ -61,9 +61,9 @@ private:
AnimatableType type() const override { return TypeLengthPoint3D; }
bool equalTo(const AnimatableValue*) const override;
- RefPtrWillBeMember<AnimatableValue> m_x;
- RefPtrWillBeMember<AnimatableValue> m_y;
- RefPtrWillBeMember<AnimatableValue> m_z;
+ Member<AnimatableValue> m_x;
+ Member<AnimatableValue> m_y;
+ Member<AnimatableValue> m_z;
};
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthPoint3D, isLengthPoint3D());

Powered by Google App Engine
This is Rietveld 408576698