Index: base/debug/task_annotator.h |
diff --git a/base/debug/task_annotator.h b/base/debug/task_annotator.h |
index 2687c5c930ef0fbdfaf6d9c59bb1ffdd3af58d09..8b42acc8be38815f5f90904b7525f9827ee1b40a 100644 |
--- a/base/debug/task_annotator.h |
+++ b/base/debug/task_annotator.h |
@@ -27,8 +27,8 @@ class BASE_EXPORT TaskAnnotator { |
const PendingTask& pending_task); |
// Run a previously queued task. |queue_function| should match what was |
- // passed into |DidQueueTask| for this task. |
- void RunTask(const char* queue_function, const PendingTask& pending_task); |
+ // passed into |DidQueueTask| for this task. This resets |pending_task.task|. |
+ void RunTask(const char* queue_function, PendingTask* pending_task); |
private: |
// Creates a process-wide unique ID to represent this task in trace events. |