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

Unified Diff: cc/resources/picture_pile_base.cc

Issue 73923003: Shared Raster Worker Threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving number of raster thread API to RasterWorkerPool + comments Created 6 years, 11 months 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
Index: cc/resources/picture_pile_base.cc
diff --git a/cc/resources/picture_pile_base.cc b/cc/resources/picture_pile_base.cc
index 7d60dcafc6b6b72839790e8b4f13e976c9f09730..1827dcc6e44c8cd213d7a4e86356c18412d3ea89 100644
--- a/cc/resources/picture_pile_base.cc
+++ b/cc/resources/picture_pile_base.cc
@@ -44,8 +44,7 @@ PicturePileBase::PicturePileBase()
slow_down_raster_scale_factor_for_debug_(0),
contents_opaque_(false),
show_debug_picture_borders_(false),
- clear_canvas_with_debug_color_(kDefaultClearCanvasSetting),
- num_raster_threads_(0) {
+ clear_canvas_with_debug_color_(kDefaultClearCanvasSetting) {
tiling_.SetMaxTextureSize(gfx::Size(kBasePictureSize, kBasePictureSize));
tile_grid_info_.fTileInterval.setEmpty();
tile_grid_info_.fMargin.setEmpty();
@@ -63,8 +62,7 @@ PicturePileBase::PicturePileBase(const PicturePileBase* other)
other->slow_down_raster_scale_factor_for_debug_),
contents_opaque_(other->contents_opaque_),
show_debug_picture_borders_(other->show_debug_picture_borders_),
- clear_canvas_with_debug_color_(other->clear_canvas_with_debug_color_),
- num_raster_threads_(other->num_raster_threads_) {
+ clear_canvas_with_debug_color_(other->clear_canvas_with_debug_color_) {
}
PicturePileBase::PicturePileBase(
@@ -78,8 +76,7 @@ PicturePileBase::PicturePileBase(
other->slow_down_raster_scale_factor_for_debug_),
contents_opaque_(other->contents_opaque_),
show_debug_picture_borders_(other->show_debug_picture_borders_),
- clear_canvas_with_debug_color_(other->clear_canvas_with_debug_color_),
- num_raster_threads_(other->num_raster_threads_) {
+ clear_canvas_with_debug_color_(other->clear_canvas_with_debug_color_) {
for (PictureMap::const_iterator it = other->picture_map_.begin();
it != other->picture_map_.end();
++it) {

Powered by Google App Engine
This is Rietveld 408576698