Index: cc/raster/bitmap_tile_task_worker_pool.cc |
diff --git a/cc/raster/bitmap_tile_task_worker_pool.cc b/cc/raster/bitmap_tile_task_worker_pool.cc |
index a24b1a23b13d3ac9f1ee89b5b01a06fb524e1564..7a29df2ca13c3742c1a2012f13c95b2f2f1a0976 100644 |
--- a/cc/raster/bitmap_tile_task_worker_pool.cc |
+++ b/cc/raster/bitmap_tile_task_worker_pool.cc |
@@ -16,7 +16,6 @@ |
#include "base/trace_event/trace_event_argument.h" |
#include "cc/debug/traced_value.h" |
#include "cc/playback/raster_source.h" |
-#include "cc/raster/raster_buffer.h" |
#include "cc/resources/platform_color.h" |
#include "cc/resources/resource.h" |
@@ -133,6 +132,10 @@ bool BitmapTileTaskWorkerPool::GetResourceRequiresSwizzle( |
return ResourceFormatRequiresSwizzle(GetResourceFormat(must_support_alpha)); |
} |
+RasterBufferProvider* BitmapTileTaskWorkerPool::AsRasterBufferProvider() { |
+ return this; |
+} |
+ |
std::unique_ptr<RasterBuffer> BitmapTileTaskWorkerPool::AcquireBufferForRaster( |
const Resource* resource, |
uint64_t resource_content_id, |