| Index: cc/base/worker_pool.h
|
| diff --git a/cc/base/worker_pool.h b/cc/base/worker_pool.h
|
| index 8e00b6b8e541f7d9cc693cf94e105d106e117242..af130f3717d7376d87e8c1e1f2820c0167a8d4ef 100644
|
| --- a/cc/base/worker_pool.h
|
| +++ b/cc/base/worker_pool.h
|
| @@ -15,7 +15,6 @@
|
| #include "cc/base/scoped_ptr_deque.h"
|
|
|
| namespace cc {
|
| -struct RenderingStats;
|
|
|
| namespace internal {
|
|
|
| @@ -25,10 +24,9 @@ class WorkerPoolTask {
|
|
|
| virtual bool IsCheap() = 0;
|
|
|
| - virtual void Run(RenderingStats* rendering_stats) = 0;
|
| + virtual void Run() = 0;
|
|
|
| - virtual void RunOnThread(
|
| - RenderingStats* rendering_stats, unsigned thread_index) = 0;
|
| + virtual void RunOnThread(unsigned thread_index) = 0;
|
|
|
| void DidComplete();
|
|
|
| @@ -52,7 +50,7 @@ class CC_EXPORT WorkerPoolClient {
|
| // of all pending tasks at shutdown.
|
| class WorkerPool {
|
| public:
|
| - typedef base::Callback<void(RenderingStats*)> Callback;
|
| + typedef base::Callback<void()> Callback;
|
|
|
| virtual ~WorkerPool();
|
|
|
| @@ -78,12 +76,6 @@ class WorkerPool {
|
| // Set time limit for running cheap tasks.
|
| void SetRunCheapTasksTimeLimit(base::TimeTicks run_cheap_tasks_time_limit);
|
|
|
| - // Toggle rendering stats collection.
|
| - void SetRecordRenderingStats(bool record_rendering_stats);
|
| -
|
| - // Collect rendering stats of all completed tasks.
|
| - void GetRenderingStats(RenderingStats* stats);
|
| -
|
| protected:
|
| WorkerPool(WorkerPoolClient* client,
|
| size_t num_threads,
|
|
|