diff options
Diffstat (limited to 'cc/test/layer_tree_test.h')
-rw-r--r-- | cc/test/layer_tree_test.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h index a3eaec4..0a047fa 100644 --- a/cc/test/layer_tree_test.h +++ b/cc/test/layer_tree_test.h @@ -60,7 +60,8 @@ class TestHooks : public AnimationDelegate { bool has_unfinished_animation) {} virtual void WillAnimateLayers(LayerTreeHostImpl* host_impl, base::TimeTicks monotonic_time) {} - virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, float scale) {} + virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, + float scale) {} virtual void Animate(base::TimeTicks monotonic_time) {} virtual void WillBeginMainFrame() {} virtual void DidBeginMainFrame() {} |