OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/animation/animatable/AnimatableDoubleAndBool.h" | 5 #include "core/animation/animatable/AnimatableDoubleAndBool.h" |
6 | 6 |
7 #include "platform/animation/AnimationUtilities.h" | 7 #include "platform/animation/AnimationUtilities.h" |
8 | 8 |
9 namespace blink { | 9 namespace blink { |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 return defaultInterpolateTo(this, value, fraction); | 23 return defaultInterpolateTo(this, value, fraction); |
24 } | 24 } |
25 | 25 |
26 bool AnimatableDoubleAndBool::equalTo(const AnimatableValue* value) const | 26 bool AnimatableDoubleAndBool::equalTo(const AnimatableValue* value) const |
27 { | 27 { |
28 const AnimatableDoubleAndBool* other = toAnimatableDoubleAndBool(value); | 28 const AnimatableDoubleAndBool* other = toAnimatableDoubleAndBool(value); |
29 return toDouble() == other->toDouble() && flag() == other->flag(); | 29 return toDouble() == other->toDouble() && flag() == other->flag(); |
30 } | 30 } |
31 | 31 |
32 } | 32 } // namespace blink |
OLD | NEW |