Index: Source/core/animation/Keyframe.h |
diff --git a/Source/core/animation/Keyframe.h b/Source/core/animation/Keyframe.h |
index ed2e70cc62fd956a733399a2c9dd22693b73fdb3..b117bda344aa94630c568e7cb3a792881fd31145 100644 |
--- a/Source/core/animation/Keyframe.h |
+++ b/Source/core/animation/Keyframe.h |
@@ -30,7 +30,11 @@ public: |
void setEasing(PassRefPtr<TimingFunction> easing) { m_easing = easing; } |
TimingFunction* easing() const { return m_easing.get(); } |
- static bool compareOffsets(const RefPtrWillBeMember<Keyframe>&, const RefPtrWillBeMember<Keyframe>&); |
+ static bool compareOffsets(const RefPtrWillBeMember<Keyframe>& a, const RefPtrWillBeMember<Keyframe>& b) |
+ { |
+ return a->offset() < b->offset(); |
+ } |
+ |
virtual PropertySet properties() const = 0; |
virtual PassRefPtrWillBeRawPtr<Keyframe> clone() const = 0; |