Index: third_party/WebKit/Source/web/WebViewImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp |
index 25ac5094e6346d6e8c8e380599cbe1ed867760e5..af6fb0283faa530728c37dd6d32af7854501c222 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -698,8 +698,8 @@ WebInputEventResult WebViewImpl::HandleGestureEvent( |
event.data.fling_start.velocity_y), |
WebSize()); |
DCHECK(fling_curve); |
- gesture_animation_ = WebActiveGestureAnimation::CreateAtAnimationStart( |
- std::move(fling_curve), this); |
+ gesture_animation_ = WebActiveGestureAnimation::CreateWithTimeOffset( |
+ std::move(fling_curve), this, event.TimeStampSeconds()); |
MainFrameImpl()->FrameWidget()->ScheduleAnimation(); |
event_result = WebInputEventResult::kHandledSystem; |