| Index: cc/quads/stream_video_draw_quad.cc
|
| diff --git a/cc/quads/stream_video_draw_quad.cc b/cc/quads/stream_video_draw_quad.cc
|
| index fb6f728ee2ebaae4c771c66de6763e468b106b2f..2c69afb4a873b5c80ae02816e982a4660cae6a26 100644
|
| --- a/cc/quads/stream_video_draw_quad.cc
|
| +++ b/cc/quads/stream_video_draw_quad.cc
|
| @@ -11,7 +11,9 @@
|
|
|
| namespace cc {
|
|
|
| -StreamVideoDrawQuad::StreamVideoDrawQuad() : resource_id(0) {}
|
| +StreamVideoDrawQuad::StreamVideoDrawQuad()
|
| + : resource_id(0), allow_overlay(false) {
|
| +}
|
|
|
| void StreamVideoDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| const gfx::Rect& rect,
|
| @@ -32,10 +34,14 @@ void StreamVideoDrawQuad::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,
|
| const gfx::Transform& matrix) {
|
| DrawQuad::SetAll(shared_quad_state, DrawQuad::STREAM_VIDEO_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->matrix = matrix;
|
| }
|
|
|
|
|