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

Unified Diff: Source/core/animation/animatable/AnimatableLengthBox.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/AnimatableLengthBox.h
diff --git a/Source/core/animation/animatable/AnimatableLengthBox.h b/Source/core/animation/animatable/AnimatableLengthBox.h
index 3968111a80c03d7c311eaee990c85f363965b984..479e13e79851533512c9d448f3932a42fbb8748f 100644
--- a/Source/core/animation/animatable/AnimatableLengthBox.h
+++ b/Source/core/animation/animatable/AnimatableLengthBox.h
@@ -38,22 +38,20 @@ namespace blink {
class AnimatableLengthBox final : public AnimatableValue {
public:
~AnimatableLengthBox() override { }
- static PassRefPtrWillBeRawPtr<AnimatableLengthBox> create(PassRefPtrWillBeRawPtr<AnimatableValue> left, PassRefPtrWillBeRawPtr<AnimatableValue> right, PassRefPtrWillBeRawPtr<AnimatableValue> top, PassRefPtrWillBeRawPtr<AnimatableValue> bottom)
+ static PassRefPtr<AnimatableLengthBox> create(PassRefPtr<AnimatableValue> left, PassRefPtr<AnimatableValue> right, PassRefPtr<AnimatableValue> top, PassRefPtr<AnimatableValue> bottom)
{
- return adoptRefWillBeNoop(new AnimatableLengthBox(left, right, top, bottom));
+ return adoptRef(new AnimatableLengthBox(left, right, top, bottom));
}
const AnimatableValue* left() const { return m_left.get(); }
const AnimatableValue* right() const { return m_right.get(); }
const AnimatableValue* top() const { return m_top.get(); }
const AnimatableValue* bottom() const { return m_bottom.get(); }
- DECLARE_VIRTUAL_TRACE();
-
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
- AnimatableLengthBox(PassRefPtrWillBeRawPtr<AnimatableValue> left, PassRefPtrWillBeRawPtr<AnimatableValue> right, PassRefPtrWillBeRawPtr<AnimatableValue> top, PassRefPtrWillBeRawPtr<AnimatableValue> bottom)
+ AnimatableLengthBox(PassRefPtr<AnimatableValue> left, PassRefPtr<AnimatableValue> right, PassRefPtr<AnimatableValue> top, PassRefPtr<AnimatableValue> bottom)
: m_left(left)
, m_right(right)
, m_top(top)
@@ -63,10 +61,10 @@ private:
AnimatableType type() const override { return TypeLengthBox; }
bool equalTo(const AnimatableValue*) const override;
- RefPtrWillBeMember<AnimatableValue> m_left;
- RefPtrWillBeMember<AnimatableValue> m_right;
- RefPtrWillBeMember<AnimatableValue> m_top;
- RefPtrWillBeMember<AnimatableValue> m_bottom;
+ RefPtr<AnimatableValue> m_left;
+ RefPtr<AnimatableValue> m_right;
+ RefPtr<AnimatableValue> m_top;
+ RefPtr<AnimatableValue> m_bottom;
};
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthBox, isLengthBox());

Powered by Google App Engine
This is Rietveld 408576698