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 53eb58bb0c4a19007d295abd92a9db09fcff7201..d5c393034b3fa6d7957234520271cd706dbae1db 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -3008,7 +3008,7 @@ static void CollectScrollDeltas(ScrollAndScaleSet* scroll_info, |
if (!scroll_delta.IsZero()) { |
LayerTreeHostCommon::ScrollUpdateInfo scroll; |
scroll.layer_id = layer_impl->id(); |
- scroll.scroll_delta = gfx::Vector2d(scroll_delta.x(), scroll_delta.y()); |
+ scroll.scroll_delta = gfx::Vector2dF(scroll_delta.x(), scroll_delta.y()); |
scroll_info->scrolls.push_back(scroll); |
} |