| Index: cc/quads/texture_draw_quad.cc
|
| diff --git a/cc/quads/texture_draw_quad.cc b/cc/quads/texture_draw_quad.cc
|
| index 4b8720a1ed7e6c5f3803f0087737ae15857bffa7..f7f22484b5bdda9e72e1c8a317c7b6c3d086b4bd 100644
|
| --- a/cc/quads/texture_draw_quad.cc
|
| +++ b/cc/quads/texture_draw_quad.cc
|
| @@ -14,6 +14,7 @@ namespace cc {
|
|
|
| TextureDrawQuad::TextureDrawQuad()
|
| : resource_id(0),
|
| + allow_overlay(false),
|
| premultiplied_alpha(false),
|
| background_color(SK_ColorTRANSPARENT),
|
| y_flipped(false),
|
| @@ -59,6 +60,8 @@ void TextureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| const gfx::Rect& visible_rect,
|
| bool needs_blending,
|
| unsigned resource_id,
|
| + gfx::Size resource_size_in_pixels,
|
| + bool allow_overlay,
|
| bool premultiplied_alpha,
|
| const gfx::PointF& uv_top_left,
|
| const gfx::PointF& uv_bottom_right,
|
| @@ -69,6 +72,8 @@ void TextureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| DrawQuad::SetAll(shared_quad_state, DrawQuad::TEXTURE_CONTENT, rect,
|
| opaque_rect, visible_rect, needs_blending);
|
| this->resource_id = resource_id;
|
| + this->resource_size_in_pixels = resource_size_in_pixels;
|
| + this->allow_overlay = allow_overlay;
|
| this->premultiplied_alpha = premultiplied_alpha;
|
| this->uv_top_left = uv_top_left;
|
| this->uv_bottom_right = uv_bottom_right;
|
|
|