Index: cc/trees/layer_tree_host_perftest.cc |
diff --git a/cc/trees/layer_tree_host_perftest.cc b/cc/trees/layer_tree_host_perftest.cc |
index 1862355d9314b495be8b38b4b9978eb0f5c72d5b..6e43ddfa42b2b36665e02ef647f94dc287c6918c 100644 |
--- a/cc/trees/layer_tree_host_perftest.cc |
+++ b/cc/trees/layer_tree_host_perftest.cc |
@@ -231,7 +231,8 @@ class ScrollingLayerTreePerfTest : public LayerTreeHostPerfTestJsonReader { |
if (TestEnded()) |
return; |
static const gfx::Vector2d delta = gfx::Vector2d(0, 10); |
- scrollable_->SetScrollOffset(scrollable_->scroll_offset() + delta); |
+ scrollable_->SetScrollOffset( |
+ gfx::ScrollOffsetWithDelta(scrollable_->scroll_offset(), delta)); |
} |
private: |