Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index a305dc031c4c109dab7f1bb54a0c3f30c962bf81..f8475fd5626a2ec1daca34470ba6de09e2355de7 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -2473,9 +2473,10 @@ InputHandler::ScrollStatus LayerTreeHostImpl::ScrollAnimated( |
new_target.SetToMax(gfx::ScrollOffset()); |
new_target.SetToMin(layer_impl->MaxScrollOffset()); |
- curve->UpdateTarget(animation->TrimTimeToCurrentIteration( |
- CurrentBeginFrameArgs().frame_time), |
- new_target); |
+ curve->UpdateTarget( |
+ animation->TrimTimeToCurrentIteration( |
+ CurrentBeginFrameArgs().frame_time).InSecondsF(), |
+ new_target); |
return ScrollStarted; |
} |