Index: cc/raster/zero_copy_tile_task_worker_pool.cc |
diff --git a/cc/raster/zero_copy_tile_task_worker_pool.cc b/cc/raster/zero_copy_tile_task_worker_pool.cc |
index 203415a7c5d22abf23e28030ee8c4770f22b0643..afbf04f8d28448f835e25051543fcb8b4681a4c1 100644 |
--- a/cc/raster/zero_copy_tile_task_worker_pool.cc |
+++ b/cc/raster/zero_copy_tile_task_worker_pool.cc |
@@ -14,7 +14,6 @@ |
#include "base/trace_event/trace_event.h" |
#include "base/trace_event/trace_event_argument.h" |
#include "cc/debug/traced_value.h" |
-#include "cc/raster/raster_buffer.h" |
#include "cc/resources/platform_color.h" |
#include "cc/resources/resource.h" |
#include "ui/gfx/buffer_format_util.h" |
@@ -141,6 +140,10 @@ bool ZeroCopyTileTaskWorkerPool::GetResourceRequiresSwizzle( |
return ResourceFormatRequiresSwizzle(GetResourceFormat(must_support_alpha)); |
} |
+RasterBufferProvider* ZeroCopyTileTaskWorkerPool::AsRasterBufferProvider() { |
+ return this; |
+} |
+ |
std::unique_ptr<RasterBuffer> |
ZeroCopyTileTaskWorkerPool::AcquireBufferForRaster( |
const Resource* resource, |