summaryrefslogtreecommitdiffstats
path: root/cc/quads/stream_video_draw_quad.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/quads/stream_video_draw_quad.h')
-rw-r--r--cc/quads/stream_video_draw_quad.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/cc/quads/stream_video_draw_quad.h b/cc/quads/stream_video_draw_quad.h
index 519c353..1044fdc 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;