| Index: cc/quads/io_surface_draw_quad.cc
|
| diff --git a/cc/quads/io_surface_draw_quad.cc b/cc/quads/io_surface_draw_quad.cc
|
| index 32e2ffc42d443dae58f64a4474034c6f292a8743..1ed0021d780611f7372836cce6ba87306dc7fe10 100644
|
| --- a/cc/quads/io_surface_draw_quad.cc
|
| +++ b/cc/quads/io_surface_draw_quad.cc
|
| @@ -11,9 +11,7 @@
|
|
|
| namespace cc {
|
|
|
| -IOSurfaceDrawQuad::IOSurfaceDrawQuad()
|
| - : orientation(FLIPPED), allow_overlay(false) {
|
| -}
|
| +IOSurfaceDrawQuad::IOSurfaceDrawQuad() : orientation(FLIPPED) {}
|
|
|
| void IOSurfaceDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| const gfx::Rect& rect,
|
| @@ -21,8 +19,7 @@ void IOSurfaceDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| const gfx::Rect& visible_rect,
|
| const gfx::Size& io_surface_size,
|
| unsigned io_surface_resource_id,
|
| - Orientation orientation,
|
| - bool allow_overlay) {
|
| + Orientation orientation) {
|
| bool needs_blending = false;
|
| DrawQuad::SetAll(shared_quad_state, DrawQuad::IO_SURFACE_CONTENT, rect,
|
| opaque_rect, visible_rect, needs_blending);
|
| @@ -30,7 +27,6 @@ void IOSurfaceDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| resources.ids[kIOSurfaceResourceIdIndex] = io_surface_resource_id;
|
| resources.count = 1;
|
| this->orientation = orientation;
|
| - this->allow_overlay = allow_overlay;
|
| }
|
|
|
| void IOSurfaceDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| @@ -40,15 +36,13 @@ void IOSurfaceDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| bool needs_blending,
|
| const gfx::Size& io_surface_size,
|
| unsigned io_surface_resource_id,
|
| - Orientation orientation,
|
| - bool allow_overlay) {
|
| + Orientation orientation) {
|
| DrawQuad::SetAll(shared_quad_state, DrawQuad::IO_SURFACE_CONTENT, rect,
|
| opaque_rect, visible_rect, needs_blending);
|
| this->io_surface_size = io_surface_size;
|
| resources.ids[kIOSurfaceResourceIdIndex] = io_surface_resource_id;
|
| resources.count = 1;
|
| this->orientation = orientation;
|
| - this->allow_overlay = allow_overlay;
|
| }
|
|
|
| const IOSurfaceDrawQuad* IOSurfaceDrawQuad::MaterialCast(
|
|
|