Index: cc/test/fake_tile_manager.cc |
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc |
index b76cd17654e9c6cd56977e9d4c5e7a46d3cd5579..ebc0b70a51bfc3dcab4e50cce76172bccf2a0675 100644 |
--- a/cc/test/fake_tile_manager.cc |
+++ b/cc/test/fake_tile_manager.cc |
@@ -19,7 +19,8 @@ namespace cc { |
namespace { |
-class FakeTileTaskRunnerImpl : public TileTaskRunner, public TileTaskClient { |
+class FakeTileTaskRunnerImpl : public TileTaskRunner, |
+ public RasterBufferProvider { |
public: |
// Overridden from TileTaskRunner: |
void Shutdown() override {} |
@@ -52,8 +53,9 @@ class FakeTileTaskRunnerImpl : public TileTaskRunner, public TileTaskClient { |
bool GetResourceRequiresSwizzle(bool must_support_alpha) const override { |
return ResourceFormatRequiresSwizzle(GetResourceFormat(must_support_alpha)); |
} |
+ RasterBufferProvider* AsRasterBufferProvider() override { return this; } |
- // Overridden from TileTaskClient: |
+ // Overridden from RasterBufferProvider: |
std::unique_ptr<RasterBuffer> AcquireBufferForRaster( |
const Resource* resource, |
uint64_t resource_content_id, |