summaryrefslogtreecommitdiffstats
path: root/chromium/base/task/thread_pool/thread_group.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/task/thread_pool/thread_group.h')
-rw-r--r--chromium/base/task/thread_pool/thread_group.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/base/task/thread_pool/thread_group.h b/chromium/base/task/thread_pool/thread_group.h
index c00755413f5..4db7bd5f66d 100644
--- a/chromium/base/task/thread_pool/thread_group.h
+++ b/chromium/base/task/thread_pool/thread_group.h
@@ -65,7 +65,7 @@ class BASE_EXPORT ThreadGroup {
// RegisteredTaskSource that evaluats to true if successful, or false if
// |task_source| is not currently in |priority_queue_|, such as when a worker
// is running a task from it.
- RegisteredTaskSource RemoveTaskSource(scoped_refptr<TaskSource> task_source);
+ RegisteredTaskSource RemoveTaskSource(const TaskSource& task_source);
// Updates the position of the TaskSource in |transaction| in this
// ThreadGroup's PriorityQueue based on the TaskSource's current traits.