summaryrefslogtreecommitdiffstats
path: root/cc/quads/tile_draw_quad.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/quads/tile_draw_quad.cc')
-rw-r--r--cc/quads/tile_draw_quad.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/quads/tile_draw_quad.cc b/cc/quads/tile_draw_quad.cc
index c17bb99..60116cc 100644
--- a/cc/quads/tile_draw_quad.cc
+++ b/cc/quads/tile_draw_quad.cc
@@ -26,7 +26,7 @@ void TileDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
const gfx::Rect& opaque_rect,
unsigned resource_id,
const gfx::RectF& tex_coord_rect,
- const gfx::Size& texture_size,
+ gfx::Size texture_size,
bool swizzle_contents) {
ContentDrawQuadBase::SetNew(shared_quad_state, DrawQuad::TILED_CONTENT, rect,
opaque_rect, tex_coord_rect, texture_size,
@@ -41,7 +41,7 @@ void TileDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
bool needs_blending,
unsigned resource_id,
const gfx::RectF& tex_coord_rect,
- const gfx::Size& texture_size,
+ gfx::Size texture_size,
bool swizzle_contents) {
ContentDrawQuadBase::SetAll(shared_quad_state, DrawQuad::TILED_CONTENT, rect,
opaque_rect, visible_rect, needs_blending,