| Index: content/child/worker_thread_registry.h
|
| diff --git a/content/child/worker_thread_registry.h b/content/child/worker_thread_registry.h
|
| index 3e8f994da6733708b9d83fc6f45ffff5aa6d8f4b..a1b08b59919332466ca9d5ae75ddcf9406c1497e 100644
|
| --- a/content/child/worker_thread_registry.h
|
| +++ b/content/child/worker_thread_registry.h
|
| @@ -24,7 +24,7 @@ class CONTENT_EXPORT WorkerThreadRegistry {
|
| public:
|
| WorkerThreadRegistry();
|
|
|
| - int PostTaskToAllThreads(base::Closure task);
|
| + int PostTaskToAllThreads(base::OnceClosure task);
|
| static WorkerThreadRegistry* Instance();
|
|
|
| void DidStartCurrentWorkerThread();
|
| @@ -39,7 +39,7 @@ class CONTENT_EXPORT WorkerThreadRegistry {
|
| friend class WorkerThread;
|
| friend class WorkerThreadRegistryTest;
|
|
|
| - bool PostTask(int id, base::Closure task);
|
| + bool PostTask(int id, base::OnceClosure task);
|
|
|
| using IDToTaskRunnerMap = std::map<base::PlatformThreadId, base::TaskRunner*>;
|
|
|
|
|