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

Unified Diff: cc/raster_worker_pool.h

Issue 12217105: cc: Check for completed raster tasks at interval. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing CC_EXPORT. Created 7 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/raster_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster_worker_pool.h
diff --git a/cc/raster_worker_pool.h b/cc/raster_worker_pool.h
index d58df2d080ccfd5a04ecb35d0e981493fc6aef0a..cc5f7a12b161944a579d483781adf429e2013a8e 100644
--- a/cc/raster_worker_pool.h
+++ b/cc/raster_worker_pool.h
@@ -20,8 +20,9 @@ class RasterWorkerPool : public WorkerPool {
virtual ~RasterWorkerPool();
- static scoped_ptr<RasterWorkerPool> Create(size_t num_threads) {
- return make_scoped_ptr(new RasterWorkerPool(num_threads));
+ static scoped_ptr<RasterWorkerPool> Create(
+ WorkerPoolClient* client, size_t num_threads) {
+ return make_scoped_ptr(new RasterWorkerPool(client, num_threads));
}
void PostRasterTaskAndReply(PicturePileImpl* picture_pile,
@@ -29,7 +30,7 @@ class RasterWorkerPool : public WorkerPool {
const base::Closure& reply);
private:
- explicit RasterWorkerPool(size_t num_threads);
+ RasterWorkerPool(WorkerPoolClient* client, size_t num_threads);
DISALLOW_COPY_AND_ASSIGN(RasterWorkerPool);
};
« no previous file with comments | « no previous file | cc/raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698