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

Unified Diff: cc/resources/raster_worker_pool.cc

Issue 12519006: cc:: Add RenderingStatsInstrumentation to manage collection of RenderingStats (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Updated all tests Created 7 years, 9 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/resources/raster_worker_pool.h ('k') | cc/resources/tile_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/raster_worker_pool.cc
diff --git a/cc/resources/raster_worker_pool.cc b/cc/resources/raster_worker_pool.cc
index 369a0e525149d1216794eb8006551725848ad9d9..c2a4a0b87a17232c159b34f148bcf1d37fcbdc15 100644
--- a/cc/resources/raster_worker_pool.cc
+++ b/cc/resources/raster_worker_pool.cc
@@ -25,14 +25,12 @@ class RasterWorkerPoolTaskImpl : public internal::WorkerPoolTask {
virtual bool IsCheap() OVERRIDE { return is_cheap_; }
- virtual void Run(RenderingStats* rendering_stats) OVERRIDE {
- task_.Run(picture_pile_.get(), rendering_stats);
+ virtual void Run() OVERRIDE {
+ task_.Run(picture_pile_.get());
}
- virtual void RunOnThread(
- RenderingStats* rendering_stats, unsigned thread_index) OVERRIDE {
- task_.Run(picture_pile_->GetCloneForDrawingOnThread(thread_index),
- rendering_stats);
+ virtual void RunOnThread(unsigned thread_index) OVERRIDE {
+ task_.Run(picture_pile_->GetCloneForDrawingOnThread(thread_index));
}
private:
« no previous file with comments | « cc/resources/raster_worker_pool.h ('k') | cc/resources/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698