summaryrefslogtreecommitdiffstats
path: root/base/threading/worker_pool_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/threading/worker_pool_posix.h')
-rw-r--r--base/threading/worker_pool_posix.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/base/threading/worker_pool_posix.h b/base/threading/worker_pool_posix.h
index 491dbbb..f56582d 100644
--- a/base/threading/worker_pool_posix.h
+++ b/base/threading/worker_pool_posix.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -59,13 +59,6 @@ class BASE_EXPORT PosixDynamicThreadPool
// worker threads. Wakes up all the idle threads to let them exit.
void Terminate();
- // Adds |task| to the thread pool. PosixDynamicThreadPool assumes ownership
- // of |task|.
- //
- // TODO(ajwong): Remove this compatibility API once the Task -> Closure
- // migration is finished.
- void PostTask(const tracked_objects::Location& from_here, Task* task);
-
// Adds |task| to the thread pool.
void PostTask(const tracked_objects::Location& from_here,
const Closure& task);