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

Unified Diff: Source/core/animation/animatable/AnimatableShapeValue.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/AnimatableShapeValue.h
diff --git a/Source/core/animation/animatable/AnimatableShapeValue.h b/Source/core/animation/animatable/AnimatableShapeValue.h
index 026082914db429d2bb546ee830d94945e982c75a..8ee083227e92ad34279acc62210f097535fc3ded 100644
--- a/Source/core/animation/animatable/AnimatableShapeValue.h
+++ b/Source/core/animation/animatable/AnimatableShapeValue.h
@@ -40,16 +40,14 @@ namespace blink {
class CORE_EXPORT AnimatableShapeValue final : public AnimatableValue {
public:
~AnimatableShapeValue() override { }
- static PassRefPtrWillBeRawPtr<AnimatableShapeValue> create(ShapeValue* shape)
+ static PassRefPtr<AnimatableShapeValue> create(ShapeValue* shape)
{
- return adoptRefWillBeNoop(new AnimatableShapeValue(shape));
+ return adoptRef(new AnimatableShapeValue(shape));
}
ShapeValue* shapeValue() const { return m_shape.get(); }
- DECLARE_VIRTUAL_TRACE();
-
protected:
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
+ PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
private:
@@ -61,7 +59,7 @@ private:
AnimatableType type() const override { return TypeShapeValue; }
bool equalTo(const AnimatableValue*) const override;
- RefPtrWillBeMember<ShapeValue> m_shape;
+ RefPtrWillBePersistent<ShapeValue> m_shape;
};
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableShapeValue, isShapeValue());

Powered by Google App Engine
This is Rietveld 408576698