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

Unified Diff: Source/core/animation/animatable/AnimatableLengthPoint.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/AnimatableLengthPoint.h
diff --git a/Source/core/animation/animatable/AnimatableLengthPoint.h b/Source/core/animation/animatable/AnimatableLengthPoint.h
index 8034de5abbbd8b6c25f60685c14719c6745b3d2e..a7248c3aad9979e7178f6be90c775a4c0b7e4a20 100644
--- a/Source/core/animation/animatable/AnimatableLengthPoint.h
+++ b/Source/core/animation/animatable/AnimatableLengthPoint.h
@@ -38,20 +38,18 @@ namespace blink {
class AnimatableLengthPoint final : public AnimatableValue {
public:
~AnimatableLengthPoint() override { }
- static PassRefPtrWillBeRawPtr<AnimatableLengthPoint> create(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y)
+ static PassRefPtr<AnimatableLengthPoint> create(PassRefPtr<AnimatableValue> x, PassRefPtr<AnimatableValue> y)
{
- return adoptRefWillBeNoop(new AnimatableLengthPoint(x, y));
+ return adoptRef(new AnimatableLengthPoint(x, y));
}
const AnimatableValue* x() const { return m_x.get(); }
const AnimatableValue* y() const { return m_y.get(); }
- DECLARE_VIRTUAL_TRACE();
-
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
- AnimatableLengthPoint(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y)
+ AnimatableLengthPoint(PassRefPtr<AnimatableValue> x, PassRefPtr<AnimatableValue> y)
: m_x(x)
, m_y(y)
{
@@ -59,8 +57,8 @@ private:
AnimatableType type() const override { return TypeLengthPoint; }
bool equalTo(const AnimatableValue*) const override;
- RefPtrWillBeMember<AnimatableValue> m_x;
- RefPtrWillBeMember<AnimatableValue> m_y;
+ RefPtr<AnimatableValue> m_x;
+ RefPtr<AnimatableValue> m_y;
};
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthPoint, isLengthPoint());

Powered by Google App Engine
This is Rietveld 408576698