Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / cc / quads / picture_draw_quad.cc
index f51b65b..a092c8d 100644 (file)
@@ -24,7 +24,7 @@ void PictureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
                              const gfx::Rect& rect,
                              const gfx::Rect& opaque_rect,
                              const gfx::RectF& tex_coord_rect,
-                             gfx::Size texture_size,
+                             const gfx::Size& texture_size,
                              ResourceFormat texture_format,
                              const gfx::Rect& content_rect,
                              float contents_scale,
@@ -49,7 +49,7 @@ void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
                              const gfx::Rect& visible_rect,
                              bool needs_blending,
                              const gfx::RectF& tex_coord_rect,
-                             gfx::Size texture_size,
+                             const gfx::Size& texture_size,
                              ResourceFormat texture_format,
                              const gfx::Rect& content_rect,
                              float contents_scale,