Index: cc/trees/layer_tree_host_common.h |
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h |
index 727244864ee00dbad724546a24531538ab5dc6f2..a15f9c0040356c7bb89747091413c73fc8ab8013 100644 |
--- a/cc/trees/layer_tree_host_common.h |
+++ b/cc/trees/layer_tree_host_common.h |
@@ -24,8 +24,8 @@ class Layer; |
class CC_EXPORT LayerTreeHostCommon { |
public: |
- static gfx::Rect CalculateVisibleRect(gfx::Rect target_surface_rect, |
- gfx::Rect layer_bound_rect, |
+ static gfx::Rect CalculateVisibleRect(const gfx::Rect& target_surface_rect, |
+ const gfx::Rect& layer_bound_rect, |
const gfx::Transform& transform); |
template <typename LayerType, typename RenderSurfaceLayerListType> |