| Index: cc/quads/picture_draw_quad.cc
|
| diff --git a/cc/quads/picture_draw_quad.cc b/cc/quads/picture_draw_quad.cc
|
| index bc528d0d277ca10b92f24a218245c813da91f197..14c0123040fe32406dd9c24f0f763d8632c9f9b1 100644
|
| --- a/cc/quads/picture_draw_quad.cc
|
| +++ b/cc/quads/picture_draw_quad.cc
|
| @@ -19,18 +19,17 @@ PictureDrawQuad::PictureDrawQuad(const PictureDrawQuad& other) = default;
|
| PictureDrawQuad::~PictureDrawQuad() {
|
| }
|
|
|
| -void PictureDrawQuad::SetNew(
|
| - const SharedQuadState* shared_quad_state,
|
| - const gfx::Rect& rect,
|
| - const gfx::Rect& opaque_rect,
|
| - const gfx::Rect& visible_rect,
|
| - const gfx::RectF& tex_coord_rect,
|
| - const gfx::Size& texture_size,
|
| - bool nearest_neighbor,
|
| - ResourceFormat texture_format,
|
| - const gfx::Rect& content_rect,
|
| - float contents_scale,
|
| - scoped_refptr<DisplayListRasterSource> raster_source) {
|
| +void PictureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
|
| + const gfx::Rect& rect,
|
| + const gfx::Rect& opaque_rect,
|
| + const gfx::Rect& visible_rect,
|
| + const gfx::RectF& tex_coord_rect,
|
| + const gfx::Size& texture_size,
|
| + bool nearest_neighbor,
|
| + ResourceFormat texture_format,
|
| + const gfx::Rect& content_rect,
|
| + float contents_scale,
|
| + scoped_refptr<RasterSource> raster_source) {
|
| ContentDrawQuadBase::SetNew(
|
| shared_quad_state,
|
| DrawQuad::PICTURE_CONTENT,
|
| @@ -47,19 +46,18 @@ void PictureDrawQuad::SetNew(
|
| this->texture_format = texture_format;
|
| }
|
|
|
| -void PictureDrawQuad::SetAll(
|
| - const SharedQuadState* shared_quad_state,
|
| - const gfx::Rect& rect,
|
| - const gfx::Rect& opaque_rect,
|
| - const gfx::Rect& visible_rect,
|
| - bool needs_blending,
|
| - const gfx::RectF& tex_coord_rect,
|
| - const gfx::Size& texture_size,
|
| - bool nearest_neighbor,
|
| - ResourceFormat texture_format,
|
| - const gfx::Rect& content_rect,
|
| - float contents_scale,
|
| - scoped_refptr<DisplayListRasterSource> raster_source) {
|
| +void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
|
| + const gfx::Rect& rect,
|
| + const gfx::Rect& opaque_rect,
|
| + const gfx::Rect& visible_rect,
|
| + bool needs_blending,
|
| + const gfx::RectF& tex_coord_rect,
|
| + const gfx::Size& texture_size,
|
| + bool nearest_neighbor,
|
| + ResourceFormat texture_format,
|
| + const gfx::Rect& content_rect,
|
| + float contents_scale,
|
| + scoped_refptr<RasterSource> raster_source) {
|
| ContentDrawQuadBase::SetAll(shared_quad_state,
|
| DrawQuad::PICTURE_CONTENT,
|
| rect,
|
|
|