| Index: trunk/src/cc/base/worker_pool.cc
|
| ===================================================================
|
| --- trunk/src/cc/base/worker_pool.cc (revision 191370)
|
| +++ trunk/src/cc/base/worker_pool.cc (working copy)
|
| @@ -177,9 +177,7 @@
|
| new base::DelegateSimpleThread(
|
| this,
|
| thread_name_prefix +
|
| - base::StringPrintf(
|
| - "Worker%lu",
|
| - static_cast<unsigned long>(workers_.size() + 1)).c_str()));
|
| + base::StringPrintf("Worker%lu", workers_.size() + 1).c_str()));
|
| worker->Start();
|
| workers_.push_back(worker.Pass());
|
| }
|
| @@ -193,9 +191,9 @@
|
| // Cancel all pending callbacks.
|
| weak_ptr_factory_.InvalidateWeakPtrs();
|
|
|
| - DCHECK_EQ(0u, pending_tasks_.size());
|
| - DCHECK_EQ(0u, completed_tasks_.size());
|
| - DCHECK_EQ(0u, running_task_count_);
|
| + DCHECK_EQ(pending_tasks_.size(), 0);
|
| + DCHECK_EQ(completed_tasks_.size(), 0);
|
| + DCHECK_EQ(running_task_count_, 0);
|
| }
|
|
|
| void WorkerPool::Inner::Shutdown() {
|
| @@ -432,7 +430,7 @@
|
| // Cancel all pending callbacks.
|
| weak_ptr_factory_.InvalidateWeakPtrs();
|
|
|
| - DCHECK_EQ(0u, completed_tasks_.size());
|
| + DCHECK_EQ(completed_tasks_.size(), 0);
|
| }
|
|
|
| void WorkerPool::Shutdown() {
|
|
|