Index: Source/core/animation/Keyframe.h |
diff --git a/Source/core/animation/Keyframe.h b/Source/core/animation/Keyframe.h |
index c9fab1de8453bc683f8acd9fdf7d268c4cb3400e..2e0f9333da87fb3b794f3b44875bba7e3e5554c1 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; |