Index: Source/core/animation/KeyframeEffectModel.h |
diff --git a/Source/core/animation/KeyframeEffectModel.h b/Source/core/animation/KeyframeEffectModel.h |
index e22831ec109b5b5e11e37b63d43eb17536f4420e..c33becfb4977e56768388fdff08d4dedc4b43a34 100644 |
--- a/Source/core/animation/KeyframeEffectModel.h |
+++ b/Source/core/animation/KeyframeEffectModel.h |
@@ -73,14 +73,15 @@ public: |
PassRefPtrWillBeRawPtr<Keyframe> clone() const { return adoptRefWillBeNoop(new Keyframe(*this)); } |
PassRefPtrWillBeRawPtr<Keyframe> cloneWithOffset(double offset) const; |
- void trace(Visitor*) { } |
+ void trace(Visitor*); |
+ |
private: |
Keyframe(); |
Keyframe(const Keyframe&); |
double m_offset; |
AnimationEffect::CompositeOperation m_composite; |
RefPtr<TimingFunction> m_easing; |
- typedef HashMap<CSSPropertyID, RefPtr<AnimatableValue> > PropertyValueMap; |
+ typedef WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<AnimatableValue> > PropertyValueMap; |
PropertyValueMap m_propertyValues; |
}; |
@@ -123,10 +124,10 @@ public: |
PassOwnPtr<PropertySpecificKeyframe> cloneWithOffset(double offset) const; |
private: |
// Used by cloneWithOffset(). |
- PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, PassRefPtr<AnimatableValue>, CompositeOperation); |
+ PropertySpecificKeyframe(double offset, PassRefPtr<TimingFunction> easing, PassRefPtrWillBeRawPtr<AnimatableValue>, CompositeOperation); |
double m_offset; |
RefPtr<TimingFunction> m_easing; |
- RefPtr<AnimatableValue> m_value; |
+ RefPtrWillBeMember<AnimatableValue> m_value; |
Mads Ager (chromium)
2014/03/20 14:51:55
Is PropertySpecificKeyframe STACK_ALLOCATED, if so
haraken
2014/03/21 13:45:04
Nice catch. PropertySpecificKeyframe needs to be a
|
AnimationEffect::CompositeOperation m_composite; |
}; |