Index: Source/core/animation/ConstantStyleInterpolation.h |
diff --git a/Source/core/animation/ConstantStyleInterpolation.h b/Source/core/animation/ConstantStyleInterpolation.h |
index 0ccda69bf72f08c69bc0f19dec04885dd2aac50f..49c55c6951ae8f6d2bbf91e8b0c1e2591521dd34 100644 |
--- a/Source/core/animation/ConstantStyleInterpolation.h |
+++ b/Source/core/animation/ConstantStyleInterpolation.h |
@@ -12,9 +12,9 @@ namespace blink { |
class ConstantStyleInterpolation : public StyleInterpolation { |
public: |
- static PassRefPtrWillBeRawPtr<ConstantStyleInterpolation> create(CSSValue* value, CSSPropertyID id) |
+ static PassRefPtr<ConstantStyleInterpolation> create(CSSValue* value, CSSPropertyID id) |
{ |
- return adoptRefWillBeNoop(new ConstantStyleInterpolation(value, id)); |
+ return adoptRef(new ConstantStyleInterpolation(value, id)); |
} |
void apply(StyleResolverState& state) const override |
@@ -22,19 +22,13 @@ public: |
StyleBuilder::applyProperty(m_id, state, m_value.get()); |
} |
- DEFINE_INLINE_VIRTUAL_TRACE() |
- { |
- StyleInterpolation::trace(visitor); |
- visitor->trace(m_value); |
- } |
- |
private: |
ConstantStyleInterpolation(CSSValue* value, CSSPropertyID id) |
: StyleInterpolation(InterpolableList::create(0), InterpolableList::create(0), id) |
, m_value(value) |
{ } |
- RefPtrWillBeMember<CSSValue> m_value; |
+ RefPtrWillBePersistent<CSSValue> m_value; |
}; |
} |