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

Unified Diff: cc/resources/image_raster_worker_pool.h

Issue 144463012: cc: Reuse the same TaskGraph and completed tasks vector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comments Created 6 years, 10 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
« no previous file with comments | « no previous file | cc/resources/image_raster_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/image_raster_worker_pool.h
diff --git a/cc/resources/image_raster_worker_pool.h b/cc/resources/image_raster_worker_pool.h
index a349564ad62fb4977df8c0311e44ca5c069697e2..d2dabbb07f938e61c143848ce0d1e3ba44d09ccd 100644
--- a/cc/resources/image_raster_worker_pool.h
+++ b/cc/resources/image_raster_worker_pool.h
@@ -50,6 +50,11 @@ class CC_EXPORT ImageRasterWorkerPool : public RasterWorkerPool {
bool raster_tasks_pending_;
bool raster_tasks_required_for_activation_pending_;
+ // Task graph used when scheduling tasks and vector used to gather
+ // completed tasks.
+ internal::TaskGraph graph_;
+ internal::Task::Vector completed_tasks_;
+
DISALLOW_COPY_AND_ASSIGN(ImageRasterWorkerPool);
};
« no previous file with comments | « no previous file | cc/resources/image_raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698