| Index: ui/compositor/float_animation_curve_adapter.cc
|
| diff --git a/ui/compositor/float_animation_curve_adapter.cc b/ui/compositor/float_animation_curve_adapter.cc
|
| index 7294965936be10f4b653cfe3b57bacb8e95f5a74..e97fbf0b700066868acd66ecd68102ab35f3e0ad 100644
|
| --- a/ui/compositor/float_animation_curve_adapter.cc
|
| +++ b/ui/compositor/float_animation_curve_adapter.cc
|
| @@ -17,11 +17,11 @@ FloatAnimationCurveAdapter::FloatAnimationCurveAdapter(
|
| duration_(duration) {
|
| }
|
|
|
| -double FloatAnimationCurveAdapter::duration() const {
|
| +double FloatAnimationCurveAdapter::Duration() const {
|
| return duration_.InSecondsF();
|
| }
|
|
|
| -scoped_ptr<cc::AnimationCurve> FloatAnimationCurveAdapter::clone() const {
|
| +scoped_ptr<cc::AnimationCurve> FloatAnimationCurveAdapter::Clone() const {
|
| scoped_ptr<FloatAnimationCurveAdapter> to_return(
|
| new FloatAnimationCurveAdapter(tween_type_,
|
| initial_value_,
|
| @@ -30,7 +30,7 @@ scoped_ptr<cc::AnimationCurve> FloatAnimationCurveAdapter::clone() const {
|
| return to_return.PassAs<cc::AnimationCurve>();
|
| }
|
|
|
| -float FloatAnimationCurveAdapter::getValue(double t) const {
|
| +float FloatAnimationCurveAdapter::GetValue(double t) const {
|
| if (t >= duration_.InSecondsF())
|
| return target_value_;
|
| if (t <= 0.0)
|
|
|