Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3213)

Unified Diff: cc/quads/picture_draw_quad.cc

Issue 723343002: Update from https://crrev.com/304121 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/quads/picture_draw_quad.h ('k') | cc/resources/bitmap_content_layer_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/quads/picture_draw_quad.cc
diff --git a/cc/quads/picture_draw_quad.cc b/cc/quads/picture_draw_quad.cc
index af120a41e3951c7a9eb99e599acc05a88029c2e7..bf329c2a8c15bf00ccfdd70d9c831cbcaa16f935 100644
--- a/cc/quads/picture_draw_quad.cc
+++ b/cc/quads/picture_draw_quad.cc
@@ -26,7 +26,7 @@ void PictureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
ResourceFormat texture_format,
const gfx::Rect& content_rect,
float contents_scale,
- scoped_refptr<PicturePileImpl> picture_pile) {
+ scoped_refptr<RasterSource> raster_source) {
ContentDrawQuadBase::SetNew(
shared_quad_state,
DrawQuad::PICTURE_CONTENT,
@@ -38,7 +38,7 @@ void PictureDrawQuad::SetNew(const SharedQuadState* shared_quad_state,
!PlatformColor::SameComponentOrder(texture_format));
this->content_rect = content_rect;
this->contents_scale = contents_scale;
- this->picture_pile = picture_pile;
+ this->raster_source = raster_source;
this->texture_format = texture_format;
}
@@ -52,7 +52,7 @@ void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
ResourceFormat texture_format,
const gfx::Rect& content_rect,
float contents_scale,
- scoped_refptr<PicturePileImpl> picture_pile) {
+ scoped_refptr<RasterSource> raster_source) {
ContentDrawQuadBase::SetAll(shared_quad_state,
DrawQuad::PICTURE_CONTENT,
rect,
@@ -65,7 +65,7 @@ void PictureDrawQuad::SetAll(const SharedQuadState* shared_quad_state,
texture_format));
this->content_rect = content_rect;
this->contents_scale = contents_scale;
- this->picture_pile = picture_pile;
+ this->raster_source = raster_source;
this->texture_format = texture_format;
}
@@ -87,7 +87,7 @@ void PictureDrawQuad::ExtendValue(base::debug::TracedValue* value) const {
value->EndArray();
value->SetDouble("contents_scale", contents_scale);
value->SetInteger("texture_format", texture_format);
- // TODO(piman): picture_pile?
+ // TODO(piman): raster_source?
}
} // namespace cc
« no previous file with comments | « cc/quads/picture_draw_quad.h ('k') | cc/resources/bitmap_content_layer_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698