| Index: cc/base/worker_pool.cc
|
| diff --git a/cc/base/worker_pool.cc b/cc/base/worker_pool.cc
|
| index 25596d40718ff747e893d34fe1001a5dc6772939..5fcbe0901446898671495893c0bea5f1f7ccaed5 100644
|
| --- a/cc/base/worker_pool.cc
|
| +++ b/cc/base/worker_pool.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "cc/base/worker_pool.h"
|
|
|
| +#include <algorithm>
|
| +
|
| #include "base/bind.h"
|
| #include "base/debug/trace_event.h"
|
| #include "base/stringprintf.h"
|
| @@ -344,10 +346,9 @@ void WorkerPool::Inner::OnIdleOnOriginThread() {
|
| void WorkerPool::Inner::Run() {
|
| #if defined(OS_ANDROID)
|
| // TODO(epenner): Move thread priorities to base. (crbug.com/170549)
|
| - int nice_value = 10; // Idle priority.
|
| + int nice_value = 10; // Idle priority.
|
| setpriority(PRIO_PROCESS, base::PlatformThread::CurrentId(), nice_value);
|
| #endif
|
| -
|
| {
|
| base::AutoLock lock(lock_);
|
|
|
|
|