Index: cc/raster/one_copy_tile_task_worker_pool.cc |
diff --git a/cc/raster/one_copy_tile_task_worker_pool.cc b/cc/raster/one_copy_tile_task_worker_pool.cc |
index 47e4c01c5a6ddb37f1513c1311f4cb402d7e97ac..1c14fb944e496d1198cf20427f5d9daed889e964 100644 |
--- a/cc/raster/one_copy_tile_task_worker_pool.cc |
+++ b/cc/raster/one_copy_tile_task_worker_pool.cc |
@@ -12,7 +12,6 @@ |
#include "base/macros.h" |
#include "cc/base/math_util.h" |
-#include "cc/raster/raster_buffer.h" |
#include "cc/raster/staging_buffer_pool.h" |
#include "cc/resources/platform_color.h" |
#include "cc/resources/resource_format.h" |
@@ -172,6 +171,10 @@ bool OneCopyTileTaskWorkerPool::GetResourceRequiresSwizzle( |
return ResourceFormatRequiresSwizzle(GetResourceFormat(must_support_alpha)); |
} |
+RasterBufferProvider* OneCopyTileTaskWorkerPool::AsRasterBufferProvider() { |
+ return this; |
+} |
+ |
std::unique_ptr<RasterBuffer> OneCopyTileTaskWorkerPool::AcquireBufferForRaster( |
const Resource* resource, |
uint64_t resource_content_id, |