Index: base/task_scheduler/task_tracker.h |
diff --git a/base/task_scheduler/task_tracker.h b/base/task_scheduler/task_tracker.h |
index 93769f1751bc1525c8c1cf13cf19b271ea6b1567..8c19456e8772ed04407d5b078f0aad8753b45f37 100644 |
--- a/base/task_scheduler/task_tracker.h |
+++ b/base/task_scheduler/task_tracker.h |
@@ -57,7 +57,7 @@ class BASE_EXPORT TaskTracker { |
// |sequence_token| is the token identifying the sequence from which |task| |
// was extracted. Returns true if |task| ran. WillPostTask() must have allowed |
// |task| to be posted before this is called. |
- bool RunTask(const Task* task, const SequenceToken& sequence_token); |
+ bool RunTask(std::unique_ptr<Task> task, const SequenceToken& sequence_token); |
// Returns true once shutdown has started (Shutdown() has been called but |
// might not have returned). Note: sequential consistency with the thread |