Index: Source/core/animation/animatable/AnimatableImage.h |
diff --git a/Source/core/animation/animatable/AnimatableImage.h b/Source/core/animation/animatable/AnimatableImage.h |
index e54bd4e745451219478f6fbaf2d5ba4d88d2225e..999c22fa023830c86927c3da77122a2b432c84d7 100644 |
--- a/Source/core/animation/animatable/AnimatableImage.h |
+++ b/Source/core/animation/animatable/AnimatableImage.h |
@@ -40,20 +40,14 @@ namespace blink { |
class AnimatableImage final : public AnimatableValue { |
public: |
~AnimatableImage() override { } |
- static PassRefPtrWillBeRawPtr<AnimatableImage> create(PassRefPtrWillBeRawPtr<CSSValue> value) |
+ static PassRefPtr<AnimatableImage> create(PassRefPtrWillBeRawPtr<CSSValue> value) |
{ |
- return adoptRefWillBeNoop(new AnimatableImage(value)); |
+ return adoptRef(new AnimatableImage(value)); |
} |
CSSValue* toCSSValue() const { return m_value.get(); } |
- DEFINE_INLINE_VIRTUAL_TRACE() |
- { |
- visitor->trace(m_value); |
- AnimatableValue::trace(visitor); |
- } |
- |
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: |
@@ -65,7 +59,7 @@ private: |
AnimatableType type() const override { return TypeImage; } |
bool equalTo(const AnimatableValue*) const override; |
- const RefPtrWillBeMember<CSSValue> m_value; |
+ const RefPtrWillBePersistent<CSSValue> m_value; |
}; |
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableImage, isImage()); |