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

Unified Diff: cc/raster_worker_pool.h

Issue 12095053: cc: Avoid expensive RenderingStats collection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 7 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
« no previous file with comments | « cc/picture_pile_impl.cc ('k') | 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..535c8187cd5b7511ce8acdaff0e659201fb15f8d 100644
--- a/cc/raster_worker_pool.h
+++ b/cc/raster_worker_pool.h
@@ -20,8 +20,10 @@ 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(
+ size_t num_threads, bool record_rendering_stats) {
+ return make_scoped_ptr(
+ new RasterWorkerPool(num_threads, record_rendering_stats));
}
void PostRasterTaskAndReply(PicturePileImpl* picture_pile,
@@ -29,7 +31,7 @@ class RasterWorkerPool : public WorkerPool {
const base::Closure& reply);
private:
- explicit RasterWorkerPool(size_t num_threads);
+ RasterWorkerPool(size_t num_threads, bool record_rendering_stats);
DISALLOW_COPY_AND_ASSIGN(RasterWorkerPool);
};
« no previous file with comments | « cc/picture_pile_impl.cc ('k') | cc/raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698