Index: cc/raster/gpu_tile_task_worker_pool.cc |
diff --git a/cc/raster/gpu_tile_task_worker_pool.cc b/cc/raster/gpu_tile_task_worker_pool.cc |
index 858094ea218c143b2e5d180b90bc40893608b780..f34cf7af285492dc327ad086a81420d374890d40 100644 |
--- a/cc/raster/gpu_tile_task_worker_pool.cc |
+++ b/cc/raster/gpu_tile_task_worker_pool.cc |
@@ -13,7 +13,6 @@ |
#include "base/trace_event/trace_event.h" |
#include "cc/playback/raster_source.h" |
#include "cc/raster/gpu_rasterizer.h" |
-#include "cc/raster/raster_buffer.h" |
#include "cc/raster/scoped_gpu_raster.h" |
#include "cc/resources/resource.h" |
#include "gpu/command_buffer/client/gles2_interface.h" |
@@ -168,6 +167,10 @@ bool GpuTileTaskWorkerPool::GetResourceRequiresSwizzle( |
return false; |
} |
+RasterBufferProvider* GpuTileTaskWorkerPool::AsRasterBufferProvider() { |
+ return this; |
+} |
+ |
void GpuTileTaskWorkerPool::CompleteTasks(const Task::Vector& tasks) { |
for (auto& task : tasks) { |
TileTask* tile_task = static_cast<TileTask*>(task.get()); |