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

Unified Diff: Source/core/animation/animatable/AnimatableLengthSize.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/AnimatableLengthSize.h
diff --git a/Source/core/animation/animatable/AnimatableLengthSize.h b/Source/core/animation/animatable/AnimatableLengthSize.h
index 64aa8f71422afe8465d3786971b3d5c7e02d6112..ba5810e4bba148b845b151cf1573b1394ae0c1ff 100644
--- a/Source/core/animation/animatable/AnimatableLengthSize.h
+++ b/Source/core/animation/animatable/AnimatableLengthSize.h
@@ -38,20 +38,18 @@ namespace blink {
class AnimatableLengthSize final : public AnimatableValue {
public:
~AnimatableLengthSize() override { }
- static PassRefPtrWillBeRawPtr<AnimatableLengthSize> create(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height)
+ static PassRefPtr<AnimatableLengthSize> create(PassRefPtr<AnimatableValue> width, PassRefPtr<AnimatableValue> height)
{
- return adoptRefWillBeNoop(new AnimatableLengthSize(width, height));
+ return adoptRef(new AnimatableLengthSize(width, height));
}
const AnimatableValue* width() const { return m_width.get(); }
const AnimatableValue* height() const { return m_height.get(); }
- DECLARE_VIRTUAL_TRACE();
-
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
private:
- AnimatableLengthSize(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height)
+ AnimatableLengthSize(PassRefPtr<AnimatableValue> width, PassRefPtr<AnimatableValue> height)
: m_width(width)
, m_height(height)
{
@@ -59,8 +57,8 @@ private:
AnimatableType type() const override { return TypeLengthSize; }
bool equalTo(const AnimatableValue*) const override;
- RefPtrWillBeMember<AnimatableValue> m_width;
- RefPtrWillBeMember<AnimatableValue> m_height;
+ RefPtr<AnimatableValue> m_width;
+ RefPtr<AnimatableValue> m_height;
};
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthSize, isLengthSize());

Powered by Google App Engine
This is Rietveld 408576698