Index: content/renderer/raster_worker_pool.h |
diff --git a/content/renderer/raster_worker_pool.h b/content/renderer/raster_worker_pool.h |
index 547eeb8609fae6f23e48216f7a570bc872c14027..e7473a91bae0f5c9cc468bbdfda09906fe2fc6a7 100644 |
--- a/content/renderer/raster_worker_pool.h |
+++ b/content/renderer/raster_worker_pool.h |
@@ -74,9 +74,9 @@ class CONTENT_EXPORT RasterWorkerPool |
class RasterWorkerPoolSequencedTaskRunner; |
friend class RasterWorkerPoolSequencedTaskRunner; |
- // Run next task. Caller must acquire |lock_| prior to calling this function |
- // and make sure at least one task is ready to run. |
- void RunTaskWithLockAcquired(); |
+ // Run next task. Caller must acquire |lock_| prior to calling this function. |
+ // Returns true if there was a task available to run. |
+ bool RunTaskWithLockAcquired(); |
// Simple Task for the TaskGraphRunner that wraps a closure. |
// This class is used to schedule TaskRunner tasks on the |