diff options
Diffstat (limited to 'cc/layers/io_surface_layer.cc')
-rw-r--r-- | cc/layers/io_surface_layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layers/io_surface_layer.cc b/cc/layers/io_surface_layer.cc index 1e94515..209827d 100644 --- a/cc/layers/io_surface_layer.cc +++ b/cc/layers/io_surface_layer.cc @@ -17,7 +17,7 @@ IOSurfaceLayer::IOSurfaceLayer() : Layer(), io_surface_id_(0) {} IOSurfaceLayer::~IOSurfaceLayer() {} void IOSurfaceLayer::SetIOSurfaceProperties(uint32_t io_surface_id, - gfx::Size size) { + const gfx::Size& size) { io_surface_id_ = io_surface_id; io_surface_size_ = size; SetNeedsCommit(); |