Chromium Code Reviews| Index: ui/gfx/android/scroller.cc |
| diff --git a/ui/gfx/android/scroller.cc b/ui/gfx/android/scroller.cc |
| index 96658b221feffbbcb4b9f47d8b6376e47c22a0ab..4a44741f52e86b85f92ec1e8102f1a881f3bfb0f 100644 |
| --- a/ui/gfx/android/scroller.cc |
| +++ b/ui/gfx/android/scroller.cc |
| @@ -276,6 +276,9 @@ |
| if (finished_) |
| return false; |
| + if (time == curr_time_) |
| + return true; |
| + |
| base::TimeDelta time_passed = time - start_time_; |
| if (time_passed < base::TimeDelta()) { |