Index: content/renderer/raster_worker_pool.h |
diff --git a/content/renderer/raster_worker_pool.h b/content/renderer/raster_worker_pool.h |
index b4ddf9a61c251e6f759400ccff94266941a2f604..2151c504b9288cab5f78bda9521889bd5d645028 100644 |
--- a/content/renderer/raster_worker_pool.h |
+++ b/content/renderer/raster_worker_pool.h |
@@ -48,7 +48,8 @@ class CONTENT_EXPORT RasterWorkerPool : public base::TaskRunner, |
// Runs a task from one of the provided categories. Categories listed first |
// have higher priority. |
- void Run(const std::vector<cc::TaskCategory>& categories, |
+ void Run(base::TestSimpleThread* runner, |
+ const std::vector<cc::TaskCategory>& categories, |
base::ConditionVariable* has_ready_to_run_tasks_cv); |
void FlushForTesting(); |
@@ -101,11 +102,13 @@ class CONTENT_EXPORT RasterWorkerPool : public base::TaskRunner, |
// Runs a task from one of the provided categories. Categories listed first |
// have higher priority. Returns false if there were no tasks to run. |
- bool RunTaskWithLockAcquired(const std::vector<cc::TaskCategory>& categories); |
+ bool RunTaskWithLockAcquired(base::TestSimpleThread* runner, |
+ const std::vector<cc::TaskCategory>& categories); |
// Run next task for the given category. Caller must acquire |lock_| prior to |
// calling this function and make sure at least one task is ready to run. |
- void RunTaskInCategoryWithLockAcquired(cc::TaskCategory category); |
+ void RunTaskInCategoryWithLockAcquired(base::TestSimpleThread* runner, |
+ cc::TaskCategory category); |
// Helper function which signals worker threads if tasks are ready to run. |
void SignalHasReadyToRunTasksWithLockAcquired(); |