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

Unified Diff: cc/tiles/gpu_image_decode_controller.h

Issue 1866043006: cc: Remove ScheduleOnOriginThread() and CompleteOnOriginThread(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 7 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/test/task_graph_runner_test_template.h ('k') | cc/tiles/gpu_image_decode_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/gpu_image_decode_controller.h
diff --git a/cc/tiles/gpu_image_decode_controller.h b/cc/tiles/gpu_image_decode_controller.h
index 6a9d200a2828234bf4e7cc2c33415836faf48804..2e37690eb9234c356756d121c2ea33457b3d940c 100644
--- a/cc/tiles/gpu_image_decode_controller.h
+++ b/cc/tiles/gpu_image_decode_controller.h
@@ -80,8 +80,10 @@ class CC_EXPORT GpuImageDecodeController
// Called by Decode / Upload tasks.
void DecodeImage(const DrawImage& image);
void UploadImage(const DrawImage& image);
- void DecodeTaskCompleted(const DrawImage& image);
- void UploadTaskCompleted(const DrawImage& image);
+
+ // Called by Decode / Upload tasks when tasks are finished.
+ void OnImageDecodeTaskCompleted(const DrawImage& image);
+ void OnImageUploadTaskCompleted(const DrawImage& image);
// For testing only.
void SetCachedItemLimitForTesting(size_t limit) {
« no previous file with comments | « cc/test/task_graph_runner_test_template.h ('k') | cc/tiles/gpu_image_decode_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698