| Index: cc/ipc/shared_quad_state_struct_traits.h
|
| diff --git a/cc/ipc/shared_quad_state_struct_traits.h b/cc/ipc/shared_quad_state_struct_traits.h
|
| index 7b5dde7e1a2086b3233c40b7f88b27d2c8d4be99..73fd1aa1414579b7a06ccf380c6368a6f5dd402d 100644
|
| --- a/cc/ipc/shared_quad_state_struct_traits.h
|
| +++ b/cc/ipc/shared_quad_state_struct_traits.h
|
| @@ -17,15 +17,16 @@ struct StructTraits<cc::mojom::SharedQuadState, cc::SharedQuadState> {
|
| return sqs.quad_to_target_transform;
|
| }
|
|
|
| - static gfx::Size quad_layer_bounds(const cc::SharedQuadState& sqs) {
|
| + static const gfx::Size& quad_layer_bounds(const cc::SharedQuadState& sqs) {
|
| return sqs.quad_layer_bounds;
|
| }
|
|
|
| - static gfx::Rect visible_quad_layer_rect(const cc::SharedQuadState& sqs) {
|
| + static const gfx::Rect& visible_quad_layer_rect(
|
| + const cc::SharedQuadState& sqs) {
|
| return sqs.visible_quad_layer_rect;
|
| }
|
|
|
| - static gfx::Rect clip_rect(const cc::SharedQuadState& sqs) {
|
| + static const gfx::Rect& clip_rect(const cc::SharedQuadState& sqs) {
|
| return sqs.clip_rect;
|
| }
|
|
|
|
|