Index: cc/raster/tile_task_worker_pool.cc |
diff --git a/cc/raster/tile_task_worker_pool.cc b/cc/raster/tile_task_worker_pool.cc |
index 9333d5a8e83c5e0f4c088e9d7d95746f0b9614d1..1e419420208209cef4577eace927e62430f91a72 100644 |
--- a/cc/raster/tile_task_worker_pool.cc |
+++ b/cc/raster/tile_task_worker_pool.cc |
@@ -19,8 +19,9 @@ TileTaskWorkerPool::TileTaskWorkerPool() {} |
TileTaskWorkerPool::~TileTaskWorkerPool() {} |
// static |
-void TileTaskWorkerPool::ScheduleTasksOnOriginThread(TileTaskClient* client, |
- TaskGraph* graph) { |
+void TileTaskWorkerPool::ScheduleTasksOnOriginThread( |
+ RasterBufferProvider* provider, |
+ TaskGraph* graph) { |
TRACE_EVENT0("cc", "TileTaskWorkerPool::ScheduleTasksOnOriginThread"); |
for (TaskGraph::Node::Vector::iterator it = graph->nodes.begin(); |
@@ -30,7 +31,7 @@ void TileTaskWorkerPool::ScheduleTasksOnOriginThread(TileTaskClient* client, |
if (!task->HasBeenScheduled()) { |
task->WillSchedule(); |
- task->ScheduleOnOriginThread(client); |
+ task->ScheduleOnOriginThread(provider); |
task->DidSchedule(); |
} |
} |