| Index: webrtc/modules/utility/source/process_thread_impl.cc
|
| diff --git a/webrtc/modules/utility/source/process_thread_impl.cc b/webrtc/modules/utility/source/process_thread_impl.cc
|
| index 4e3606ca08f6d24d973bcaaa16b0cf0c7a3473f7..66534dedeab0785d5bcddf304faabbe9b5dc3c21 100644
|
| --- a/webrtc/modules/utility/source/process_thread_impl.cc
|
| +++ b/webrtc/modules/utility/source/process_thread_impl.cc
|
| @@ -11,6 +11,7 @@
|
| #include "webrtc/modules/utility/source/process_thread_impl.h"
|
|
|
| #include "webrtc/base/checks.h"
|
| +#include "webrtc/base/task_queue.h"
|
| #include "webrtc/base/timeutils.h"
|
| #include "webrtc/modules/include/module.h"
|
| #include "webrtc/system_wrappers/include/logging.h"
|
| @@ -119,7 +120,7 @@
|
| wake_up_->Set();
|
| }
|
|
|
| -void ProcessThreadImpl::PostTask(std::unique_ptr<ProcessTask> task) {
|
| +void ProcessThreadImpl::PostTask(std::unique_ptr<rtc::QueuedTask> task) {
|
| // Allowed to be called on any thread.
|
| {
|
| rtc::CritScope lock(&lock_);
|
| @@ -218,7 +219,7 @@
|
| }
|
|
|
| while (!queue_.empty()) {
|
| - ProcessTask* task = queue_.front();
|
| + rtc::QueuedTask* task = queue_.front();
|
| queue_.pop();
|
| lock_.Leave();
|
| task->Run();
|
|
|