Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Unified Diff: cc/tiles/tile_manager.cc

Issue 1885873002: cc: Rename TileTaskClient interface to RasterBufferProvider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_schedule
Patch Set: Removed patch dependency. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/tiles/software_image_decode_controller.cc ('k') | cc/tiles/tile_manager_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.cc
diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc
index cabc5d286c20ec10a333c4f46b3f2e635f149822..cec859ff6299cec34f0213c2af97cb21ef744994 100644
--- a/cc/tiles/tile_manager.cc
+++ b/cc/tiles/tile_manager.cc
@@ -98,13 +98,13 @@ class RasterTaskImpl : public RasterTask {
}
// Overridden from TileTask:
- void ScheduleOnOriginThread(TileTaskClient* client) override {
+ void ScheduleOnOriginThread(RasterBufferProvider* provider) override {
DCHECK(!raster_buffer_);
- raster_buffer_ = client->AcquireBufferForRaster(
+ raster_buffer_ = provider->AcquireBufferForRaster(
resource_, resource_content_id_, previous_content_id_);
}
- void CompleteOnOriginThread(TileTaskClient* client) override {
- client->ReleaseBufferForRaster(std::move(raster_buffer_));
+ void CompleteOnOriginThread(RasterBufferProvider* provider) override {
+ provider->ReleaseBufferForRaster(std::move(raster_buffer_));
reply_.Run(!HasFinishedRunning());
}
@@ -252,8 +252,8 @@ class TaskSetFinishedTaskImpl : public TileTask {
}
// Overridden from TileTask:
- void ScheduleOnOriginThread(TileTaskClient* client) override {}
- void CompleteOnOriginThread(TileTaskClient* client) override {}
+ void ScheduleOnOriginThread(RasterBufferProvider* provider) override {}
+ void CompleteOnOriginThread(RasterBufferProvider* provider) override {}
protected:
~TaskSetFinishedTaskImpl() override {}
« no previous file with comments | « cc/tiles/software_image_decode_controller.cc ('k') | cc/tiles/tile_manager_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698