Index: base/threading/worker_pool.h |
diff --git a/base/threading/worker_pool.h b/base/threading/worker_pool.h |
index d97dbd6a69e77070e542eb792f33a467643874d3..d1c666d2f9635494b0993c574473f507e08c7f58 100644 |
--- a/base/threading/worker_pool.h |
+++ b/base/threading/worker_pool.h |
@@ -32,15 +32,15 @@ class BASE_EXPORT WorkerPool { |
// false if |task| could not be posted to a worker thread. Regardless of |
// return value, ownership of |task| is transferred to the worker pool. |
static bool PostTask(const tracked_objects::Location& from_here, |
- Closure task, |
+ OnceClosure task, |
bool task_is_slow); |
// Just like TaskRunner::PostTaskAndReply, except the destination |
// for |task| is a worker thread and you can specify |task_is_slow| just |
// like you can for PostTask above. |
static bool PostTaskAndReply(const tracked_objects::Location& from_here, |
- Closure task, |
- Closure reply, |
+ OnceClosure task, |
+ OnceClosure reply, |
bool task_is_slow); |
// Return true if the current thread is one that this WorkerPool runs tasks |