| Index: webrtc/modules/utility/include/process_thread.h
|
| diff --git a/webrtc/modules/utility/include/process_thread.h b/webrtc/modules/utility/include/process_thread.h
|
| index f6913ea3167481eef084579aaf38be0c54088aeb..285a5ea5876e2e60f259220583d214cfd65d997d 100644
|
| --- a/webrtc/modules/utility/include/process_thread.h
|
| +++ b/webrtc/modules/utility/include/process_thread.h
|
| @@ -11,9 +11,8 @@
|
| #ifndef WEBRTC_MODULES_UTILITY_INCLUDE_PROCESS_THREAD_H_
|
| #define WEBRTC_MODULES_UTILITY_INCLUDE_PROCESS_THREAD_H_
|
|
|
| -#include <memory>
|
| -
|
| #include "webrtc/typedefs.h"
|
| +#include "webrtc/base/scoped_ptr.h"
|
|
|
| namespace webrtc {
|
| class Module;
|
| @@ -30,7 +29,7 @@
|
| public:
|
| virtual ~ProcessThread();
|
|
|
| - static std::unique_ptr<ProcessThread> Create(const char* thread_name);
|
| + static rtc::scoped_ptr<ProcessThread> Create(const char* thread_name);
|
|
|
| // Starts the worker thread. Must be called from the construction thread.
|
| virtual void Start() = 0;
|
| @@ -51,7 +50,7 @@
|
| // construction thread of the ProcessThread instance, if the task did not
|
| // get a chance to run (e.g. posting the task while shutting down or when
|
| // the thread never runs).
|
| - virtual void PostTask(std::unique_ptr<ProcessTask> task) = 0;
|
| + virtual void PostTask(rtc::scoped_ptr<ProcessTask> task) = 0;
|
|
|
| // Adds a module that will start to receive callbacks on the worker thread.
|
| // Can be called from any thread.
|
|
|