Index: cc/tiles/image_decode_controller.h |
diff --git a/cc/tiles/image_decode_controller.h b/cc/tiles/image_decode_controller.h |
index 4bf03d86bd8d41a84d4265c348c46c1497b59f0b..b3d65af94c8ce6da3b8188cc0db9d729721cb0ad 100644 |
--- a/cc/tiles/image_decode_controller.h |
+++ b/cc/tiles/image_decode_controller.h |
@@ -12,6 +12,7 @@ |
namespace cc { |
class ImageDecodeTask; |
+class Task; |
// ImageDecodeController is responsible for generating decode tasks, decoding |
// images, storing images in cache, and being able to return the decoded images |
@@ -59,6 +60,8 @@ class CC_EXPORT ImageDecodeController { |
virtual void DrawWithImageFinished(const DrawImage& image, |
const DecodedDrawImage& decoded_image) = 0; |
+ virtual void CompleteTask(Task* task) = 0; |
+ |
// This function informs the controller that now is a good time to clean up |
// memory. This is called periodically from the compositor thread. |
virtual void ReduceCacheUsage() = 0; |