| Index: cc/animation/scroll_offset_animation_curve.cc
|
| diff --git a/cc/animation/scroll_offset_animation_curve.cc b/cc/animation/scroll_offset_animation_curve.cc
|
| index 5b95f561685fa48533c61b4a1efebb5c894ae3e0..b207994c092a327a70c753d99b7c93f4446bf4c2 100644
|
| --- a/cc/animation/scroll_offset_animation_curve.cc
|
| +++ b/cc/animation/scroll_offset_animation_curve.cc
|
| @@ -69,7 +69,8 @@ static std::unique_ptr<TimingFunction> EaseOutWithInitialVelocity(
|
| // Clamp velocity to a sane value.
|
| velocity = std::min(std::max(velocity, -1000.0), 1000.0);
|
|
|
| - // Based on EaseInOutTimingFunction::Create with first control point scaled.
|
| + // Based on CubicBezierTimingFunction::EaseType::EASE_IN_OUT preset
|
| + // with first control point scaled.
|
| const double x1 = 0.42;
|
| const double y1 = velocity * x1;
|
| return CubicBezierTimingFunction::Create(x1, y1, 0.58, 1);
|
|
|