Index: cc/layers/ui_resource_layer_impl.cc |
diff --git a/cc/layers/ui_resource_layer_impl.cc b/cc/layers/ui_resource_layer_impl.cc |
index 8a45eaa9f70dc7621f343e8674a95dbf007c2fa2..ad7fd2c5ef22d5e46760004d5f4e06a88c3c9b3d 100644 |
--- a/cc/layers/ui_resource_layer_impl.cc |
+++ b/cc/layers/ui_resource_layer_impl.cc |
@@ -49,7 +49,7 @@ void UIResourceLayerImpl::SetUIResourceId(UIResourceId uid) { |
NoteLayerPropertyChanged(); |
} |
-void UIResourceLayerImpl::SetImageBounds(gfx::Size image_bounds) { |
+void UIResourceLayerImpl::SetImageBounds(const gfx::Size& image_bounds) { |
// This check imposes an ordering on the call sequence. An UIResource must |
// exist before SetImageBounds can be called. |
DCHECK(ui_resource_id_); |