Index: cc/tiles/gpu_image_decode_controller_unittest.cc |
diff --git a/cc/tiles/gpu_image_decode_controller_unittest.cc b/cc/tiles/gpu_image_decode_controller_unittest.cc |
index f5949253ab1ccd43b025a74af5b16bd21d94661a..05d6056338f708bb4e1bf368373fd705ffee2c78 100644 |
--- a/cc/tiles/gpu_image_decode_controller_unittest.cc |
+++ b/cc/tiles/gpu_image_decode_controller_unittest.cc |
@@ -38,9 +38,13 @@ void ScheduleTask(TileTask* task) { |
} |
void RunTask(TileTask* task) { |
- task->WillRun(); |
+ // TODO(prashant.n): Once ScheduleOnOriginThread() and |
+ // CompleteOnOriginThread() functions are removed, modify this function |
+ // accordingly. (crbug.com/599863) |
+ task->state().DidSchedule(); |
+ task->state().DidStart(); |
task->RunOnWorkerThread(); |
- task->DidRun(); |
+ task->state().DidFinish(); |
} |
void CompleteTask(TileTask* task) { |