Index: cc/input/page_scale_animation.h |
diff --git a/cc/input/page_scale_animation.h b/cc/input/page_scale_animation.h |
index 4c30cdcbc523e0e5cb740ab43448aa50de5d0ca9..f2e315d0325fbdc1aa22d4e78cdafaf0eacb9553 100644 |
--- a/cc/input/page_scale_animation.h |
+++ b/cc/input/page_scale_animation.h |
@@ -27,8 +27,8 @@ class PageScaleAnimation { |
static scoped_ptr<PageScaleAnimation> Create( |
gfx::Vector2dF start_scroll_offset, |
float start_page_scale_factor, |
- gfx::SizeF viewport_size, |
- gfx::SizeF root_layer_size, |
+ const gfx::SizeF& viewport_size, |
+ const gfx::SizeF& root_layer_size, |
scoped_ptr<TimingFunction> timing_function); |
~PageScaleAnimation(); |
@@ -71,8 +71,8 @@ class PageScaleAnimation { |
protected: |
PageScaleAnimation(gfx::Vector2dF start_scroll_offset, |
float start_page_scale_factor, |
- gfx::SizeF viewport_size, |
- gfx::SizeF root_layer_size, |
+ const gfx::SizeF& viewport_size, |
+ const gfx::SizeF& root_layer_size, |
scoped_ptr<TimingFunction> timing_function); |
private: |