Index: cc/texture_draw_quad.h |
diff --git a/cc/texture_draw_quad.h b/cc/texture_draw_quad.h |
index 8a420fdf0fe047a3c0e93fff5b381e06da51d9dc..f4c3fe4aad9e27cba445279f1ce2da6e10f84f80 100644 |
--- a/cc/texture_draw_quad.h |
+++ b/cc/texture_draw_quad.h |
@@ -21,7 +21,8 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad { |
gfx::Rect opaque_rect, |
unsigned resource_id, |
bool premultiplied_alpha, |
- const gfx::RectF& uv_rect, |
+ const gfx::PointF& uv_top_left, |
danakj
2013/01/11 02:21:51
please pass PointF by value instead of by referenc
Jerome
2013/01/11 18:00:01
Done.
|
+ const gfx::PointF& uv_bottom_right, |
const float vertex_opacity[4], |
bool flipped); |
@@ -32,13 +33,15 @@ class CC_EXPORT TextureDrawQuad : public DrawQuad { |
bool needs_blending, |
unsigned resource_id, |
bool premultiplied_alpha, |
- const gfx::RectF& uv_rect, |
+ const gfx::PointF& uv_top_left, |
+ const gfx::PointF& uv_bottom_right, |
const float vertex_opacity[4], |
bool flipped); |
unsigned resource_id; |
bool premultiplied_alpha; |
- gfx::RectF uv_rect; |
+ gfx::PointF uv_top_left; |
+ gfx::PointF uv_bottom_right; |
float vertex_opacity[4]; |
bool flipped; |