| Index: cc/quads/stream_video_draw_quad.h
|
| diff --git a/cc/quads/stream_video_draw_quad.h b/cc/quads/stream_video_draw_quad.h
|
| index 519c35363ed59c955cfaecefa8e865e5c6656564..1044fdc19b84566e1c3a7de7e74a87fa8fb5dfdd 100644
|
| --- a/cc/quads/stream_video_draw_quad.h
|
| +++ b/cc/quads/stream_video_draw_quad.h
|
| @@ -22,7 +22,6 @@ class CC_EXPORT StreamVideoDrawQuad : public DrawQuad {
|
| const gfx::Rect& visible_rect,
|
| unsigned resource_id,
|
| gfx::Size resource_size_in_pixels,
|
| - bool allow_overlay,
|
| const gfx::Transform& matrix);
|
|
|
| void SetAll(const SharedQuadState* shared_quad_state,
|
| @@ -32,16 +31,13 @@ class CC_EXPORT StreamVideoDrawQuad : public DrawQuad {
|
| bool needs_blending,
|
| unsigned resource_id,
|
| gfx::Size resource_size_in_pixels,
|
| - bool allow_overlay,
|
| const gfx::Transform& matrix);
|
|
|
| gfx::Transform matrix;
|
|
|
| struct OverlayResources {
|
| OverlayResources();
|
| -
|
| gfx::Size size_in_pixels[Resources::kMaxResourceIdCount];
|
| - bool allow_overlay[Resources::kMaxResourceIdCount];
|
| };
|
| OverlayResources overlay_resources;
|
|
|
| @@ -51,9 +47,6 @@ class CC_EXPORT StreamVideoDrawQuad : public DrawQuad {
|
| const gfx::Size& resource_size_in_pixels() const {
|
| return overlay_resources.size_in_pixels[kResourceIdIndex];
|
| }
|
| - bool allow_overlay() const {
|
| - return overlay_resources.allow_overlay[kResourceIdIndex];
|
| - }
|
|
|
| private:
|
| static const size_t kResourceIdIndex = 0;
|
|
|