Index: Source/core/animation/animatable/AnimatableLengthPoint3D.h |
diff --git a/Source/core/animation/animatable/AnimatableLengthPoint3D.h b/Source/core/animation/animatable/AnimatableLengthPoint3D.h |
index 527c6e6e87f935780eeda3e529fc1d05adf111e5..601a78fe2e1654f2ba754794115f9aadcd844cac 100644 |
--- a/Source/core/animation/animatable/AnimatableLengthPoint3D.h |
+++ b/Source/core/animation/animatable/AnimatableLengthPoint3D.h |
@@ -38,9 +38,9 @@ namespace blink { |
class AnimatableLengthPoint3D final : public AnimatableValue { |
public: |
virtual ~AnimatableLengthPoint3D() { } |
- 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(); } |
sof
2015/05/30 11:34:05
yet more redundant get()s
peria
2015/06/01 04:43:02
Done.
|
const AnimatableValue* y() const { return m_y.get(); } |
@@ -49,10 +49,10 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
protected: |
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override; |
+ virtual 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: |
virtual AnimatableType type() const override { return TypeLengthPoint3D; } |
virtual 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()); |