Index: cc/raster/gpu_tile_task_worker_pool.h |
diff --git a/cc/raster/gpu_tile_task_worker_pool.h b/cc/raster/gpu_tile_task_worker_pool.h |
index 6943a271c0ef1d50fc7aba9d21d3260a7b7eabcd..5ebd623be3dd21124c91850610cd401571254e95 100644 |
--- a/cc/raster/gpu_tile_task_worker_pool.h |
+++ b/cc/raster/gpu_tile_task_worker_pool.h |
@@ -18,7 +18,7 @@ class ResourceProvider; |
class CC_EXPORT GpuTileTaskWorkerPool : public TileTaskWorkerPool, |
public TileTaskRunner, |
- public TileTaskClient { |
+ public RasterBufferProvider { |
public: |
~GpuTileTaskWorkerPool() override; |
@@ -39,8 +39,9 @@ class CC_EXPORT GpuTileTaskWorkerPool : public TileTaskWorkerPool, |
void CheckForCompletedTasks() override; |
ResourceFormat GetResourceFormat(bool must_support_alpha) const override; |
bool GetResourceRequiresSwizzle(bool must_support_alpha) const override; |
+ RasterBufferProvider* AsRasterBufferProvider() override; |
- // Overridden from TileTaskClient: |
+ // Overridden from RasterBufferProvider: |
std::unique_ptr<RasterBuffer> AcquireBufferForRaster( |
const Resource* resource, |
uint64_t resource_content_id, |