Index: Source/core/animation/SampledEffect.h |
diff --git a/Source/core/animation/SampledEffect.h b/Source/core/animation/SampledEffect.h |
index 1eed3e00f1556ba642beb46b1f42f544b7df6c83..7c3891c5fcebb0ab8fda783ae2cb1829afbecd0c 100644 |
--- a/Source/core/animation/SampledEffect.h |
+++ b/Source/core/animation/SampledEffect.h |
@@ -24,6 +24,12 @@ public: |
void clear(); |
const WillBeHeapVector<RefPtrWillBeMember<Interpolation> >& interpolations() const { return *m_interpolations; } |
+#if ENABLE(OILPAN) |
+ RawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>> mutableInterpolations() { return m_interpolations.get(); } |
+#else |
+ PassOwnPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>> mutableInterpolations() { return m_interpolations.release(); } |
+#endif |
+ |
void setInterpolations(PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > interpolations) { m_interpolations = interpolations; } |
Animation* animation() const { return m_animation; } |
@@ -41,7 +47,7 @@ private: |
#if !ENABLE(OILPAN) |
RefPtr<AnimationPlayer> m_player; |
#endif |
- OwnPtrWillBeMember<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > m_interpolations; |
+ OwnPtrWillBeMember<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>> m_interpolations; |
const unsigned m_sequenceNumber; |
Animation::Priority m_priority; |
}; |