Replace scoped_ptr with unique_ptr in webrtc/modules/
Except in places where this would break out-of-tree code,
such as Chromium.
BUG=webrtc:5520
Review URL: https://codereview.webrtc.org/1785173002
Cr-Commit-Position: refs/heads/master@{#12037}
diff --git a/webrtc/modules/utility/source/process_thread_impl.h b/webrtc/modules/utility/source/process_thread_impl.h
index 1c0a0cd..2855ed9 100644
--- a/webrtc/modules/utility/source/process_thread_impl.h
+++ b/webrtc/modules/utility/source/process_thread_impl.h
@@ -12,6 +12,7 @@
#define WEBRTC_MODULES_UTILITY_SOURCE_PROCESS_THREAD_IMPL_H_
#include <list>
+#include <memory>
#include <queue>
#include "webrtc/base/criticalsection.h"
@@ -69,9 +70,9 @@
rtc::CriticalSection lock_; // Used to guard modules_, tasks_ and stop_.
rtc::ThreadChecker thread_checker_;
- const rtc::scoped_ptr<EventWrapper> wake_up_;
- // TODO(pbos): Remove scoped_ptr and stop recreating the thread.
- rtc::scoped_ptr<rtc::PlatformThread> thread_;
+ const std::unique_ptr<EventWrapper> wake_up_;
+ // TODO(pbos): Remove unique_ptr and stop recreating the thread.
+ std::unique_ptr<rtc::PlatformThread> thread_;
ModuleList modules_;
// TODO(tommi): Support delayed tasks.