Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index 2b85e321c33940f88a560c34e23403035e36d59d..3b8e65ba6da003c02fb7554ed84fbaa554076ebe 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -297,13 +297,13 @@ class CC_EXPORT LayerTreeHostImpl |
size_t memory_allocation_limit_bytes() const; |
int memory_allocation_priority_cutoff() const; |
- void SetViewportSize(gfx::Size device_viewport_size); |
+ void SetViewportSize(const gfx::Size& device_viewport_size); |
void SetOverdrawBottomHeight(float overdraw_bottom_height); |
float overdraw_bottom_height() const { return overdraw_bottom_height_; } |
void SetOverhangUIResource(UIResourceId overhang_ui_resource_id, |
- gfx::Size overhang_ui_resource_size); |
+ const gfx::Size& overhang_ui_resource_size); |
void SetDeviceScaleFactor(float device_scale_factor); |
float device_scale_factor() const { return device_scale_factor_; } |