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

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

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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..256844be5d2c1cc8c24888817c088a293f53c5e8 100644
--- a/Source/core/animation/animatable/AnimatableLengthPoint3D.h
+++ b/Source/core/animation/animatable/AnimatableLengthPoint3D.h
@@ -38,21 +38,19 @@ namespace blink {
class AnimatableLengthPoint3D final : public AnimatableValue {
public:
~AnimatableLengthPoint3D() override { }
- static PassRefPtrWillBeRawPtr<AnimatableLengthPoint3D> create(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y, PassRefPtrWillBeRawPtr<AnimatableValue> z)
+ static PassRefPtr<AnimatableLengthPoint3D> create(PassRefPtr<AnimatableValue> x, PassRefPtr<AnimatableValue> y, PassRefPtr<AnimatableValue> z)
{
- return adoptRefWillBeNoop(new AnimatableLengthPoint3D(x, y, z));
+ return adoptRef(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(); }
- DECLARE_VIRTUAL_TRACE();
-
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
- AnimatableLengthPoint3D(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y, PassRefPtrWillBeRawPtr<AnimatableValue> z)
+ AnimatableLengthPoint3D(PassRefPtr<AnimatableValue> x, PassRefPtr<AnimatableValue> y, PassRefPtr<AnimatableValue> z)
: m_x(x)
, m_y(y)
, m_z(z)
@@ -61,9 +59,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;
+ RefPtr<AnimatableValue> m_x;
+ RefPtr<AnimatableValue> m_y;
+ RefPtr<AnimatableValue> m_z;
};
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthPoint3D, isLengthPoint3D());

Powered by Google App Engine
This is Rietveld 408576698