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

Unified Diff: cc/tiles/checker_image_tracker_unittest.cc

Issue 2703633004: cc: Make image controller return a status with the callback. (Closed)
Patch Set: update Created 3 years, 10 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/checker_image_tracker.cc ('k') | cc/tiles/decoded_image_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/checker_image_tracker_unittest.cc
diff --git a/cc/tiles/checker_image_tracker_unittest.cc b/cc/tiles/checker_image_tracker_unittest.cc
index 60a4843854f8af1b44d7f11e8967ef628dde71bb..a60bcf75f5b4e2cdef444d4ad05e27b240577402 100644
--- a/cc/tiles/checker_image_tracker_unittest.cc
+++ b/cc/tiles/checker_image_tracker_unittest.cc
@@ -48,7 +48,9 @@ class TestImageController : public ImageController {
// Post the callback asynchronously to match the behaviour in
// ImageController.
- worker_task_runner_->PostTask(FROM_HERE, base::Bind(callback, request_id));
+ worker_task_runner_->PostTask(
+ FROM_HERE,
+ base::Bind(callback, request_id, ImageDecodeResult::SUCCESS));
return request_id;
}
« no previous file with comments | « cc/tiles/checker_image_tracker.cc ('k') | cc/tiles/decoded_image_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698