Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2986)

Unified Diff: cc/quads/tile_draw_quad.h

Issue 147603006: [#7] Resubmitted - Pass gfx structs by const ref (gfx::Size) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resubmit 145313006 Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/quads/shared_quad_state.cc ('k') | cc/quads/tile_draw_quad.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/tile_draw_quad.h
diff --git a/cc/quads/tile_draw_quad.h b/cc/quads/tile_draw_quad.h
index f4053c5be8ab37b9bc3c37b9d90056f0611544b1..75eb4d48b6d3e6f1aa22c4369384b1ea4f86c8f2 100644
--- a/cc/quads/tile_draw_quad.h
+++ b/cc/quads/tile_draw_quad.h
@@ -19,7 +19,7 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
const gfx::Rect& opaque_rect,
unsigned resource_id,
const gfx::RectF& tex_coord_rect,
- gfx::Size texture_size,
+ const gfx::Size& texture_size,
bool swizzle_contents);
void SetAll(const SharedQuadState* shared_quad_state,
@@ -29,7 +29,7 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
bool needs_blending,
unsigned resource_id,
const gfx::RectF& tex_coord_rect,
- gfx::Size texture_size,
+ const gfx::Size& texture_size,
bool swizzle_contents);
unsigned resource_id;
« no previous file with comments | « cc/quads/shared_quad_state.cc ('k') | cc/quads/tile_draw_quad.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698