Index: base/threading/worker_pool_posix.cc |
diff --git a/base/threading/worker_pool_posix.cc b/base/threading/worker_pool_posix.cc |
index da3a86bbc9d2683df2ac3f9f025afc3fe3c0554c..d9146190485a2c57a51fcbfd750069c32f58cecc 100644 |
--- a/base/threading/worker_pool_posix.cc |
+++ b/base/threading/worker_pool_posix.cc |
@@ -131,10 +131,8 @@ PosixDynamicThreadPool::PosixDynamicThreadPool( |
num_idle_threads_cv_(NULL) {} |
PosixDynamicThreadPool::~PosixDynamicThreadPool() { |
- while (!pending_tasks_.empty()) { |
- PendingTask pending_task = pending_tasks_.front(); |
+ while (!pending_tasks_.empty()) |
pending_tasks_.pop(); |
- } |
} |
void PosixDynamicThreadPool::Terminate() { |