Index: cc/raster/tile_task_worker_pool_unittest.cc |
diff --git a/cc/raster/tile_task_worker_pool_unittest.cc b/cc/raster/tile_task_worker_pool_unittest.cc |
index 919a88577175eea8e01652d1311733d5090b0471..e3d2ab5d06eb01bd3b349429bd53a4fcbb529244 100644 |
--- a/cc/raster/tile_task_worker_pool_unittest.cc |
+++ b/cc/raster/tile_task_worker_pool_unittest.cc |
@@ -22,7 +22,6 @@ |
#include "cc/raster/gpu_rasterizer.h" |
#include "cc/raster/gpu_tile_task_worker_pool.h" |
#include "cc/raster/one_copy_tile_task_worker_pool.h" |
-#include "cc/raster/raster_buffer.h" |
#include "cc/raster/synchronous_task_graph_runner.h" |
#include "cc/raster/tile_task_runner.h" |
#include "cc/raster/zero_copy_tile_task_worker_pool.h" |
@@ -73,13 +72,13 @@ class TestRasterTaskImpl : public RasterTask { |
} |
// Overridden from TileTask: |
- void ScheduleOnOriginThread(TileTaskClient* client) override { |
+ void ScheduleOnOriginThread(RasterBufferProvider* provider) override { |
// The raster buffer has no tile ids associated with it for partial update, |
// so doesn't need to provide a valid dirty rect. |
- raster_buffer_ = client->AcquireBufferForRaster(resource_, 0, 0); |
+ raster_buffer_ = provider->AcquireBufferForRaster(resource_, 0, 0); |
} |
- void CompleteOnOriginThread(TileTaskClient* client) override { |
- client->ReleaseBufferForRaster(std::move(raster_buffer_)); |
+ void CompleteOnOriginThread(RasterBufferProvider* provider) override { |
+ provider->ReleaseBufferForRaster(std::move(raster_buffer_)); |
reply_.Run(!HasFinishedRunning()); |
} |