| Index: content/child/fling_animator_impl_android.cc
|
| diff --git a/content/child/fling_animator_impl_android.cc b/content/child/fling_animator_impl_android.cc
|
| index 377af483c00bddb4d245f02d22377de497956a74..7583c03772fcf598966ff6178fe4fa2f029d3fd1 100644
|
| --- a/content/child/fling_animator_impl_android.cc
|
| +++ b/content/child/fling_animator_impl_android.cc
|
| @@ -66,6 +66,11 @@ void FlingAnimatorImpl::CancelFling() {
|
|
|
| bool FlingAnimatorImpl::apply(double time,
|
| blink::WebGestureCurveTarget* target) {
|
| + // If the fling has yet to start, simply return and report true to prevent
|
| + // fling termination.
|
| + if (time <= 0)
|
| + return true;
|
| +
|
| const base::TimeTicks time_ticks =
|
| base::TimeTicks() + base::TimeDelta::FromMicroseconds(
|
| time * base::Time::kMicrosecondsPerSecond);
|
|
|