Index: cc/layers/io_surface_layer_impl.cc |
diff --git a/cc/layers/io_surface_layer_impl.cc b/cc/layers/io_surface_layer_impl.cc |
index d2c54386ba1312e498676e12704a20797a48ae9b..b8d6919cc7f90cb34ee542312082fada8be2d9b0 100644 |
--- a/cc/layers/io_surface_layer_impl.cc |
+++ b/cc/layers/io_surface_layer_impl.cc |
@@ -131,7 +131,7 @@ void IOSurfaceLayerImpl::ReleaseResources() { |
} |
void IOSurfaceLayerImpl::SetIOSurfaceProperties(unsigned io_surface_id, |
- gfx::Size size) { |
+ const gfx::Size& size) { |
if (io_surface_id_ != io_surface_id) |
io_surface_changed_ = true; |