Index: webrtc/modules/audio_device/linux/audio_device_pulse_linux.h |
diff --git a/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h b/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h |
index de8df0be1bae369b5ccf4cfd638da4c185230d95..a0a15e5f0e7122fdd12686ec230c3b61b294da6c 100644 |
--- a/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h |
+++ b/webrtc/modules/audio_device/linux/audio_device_pulse_linux.h |
@@ -11,6 +11,8 @@ |
#ifndef WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_PULSE_LINUX_H |
#define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_PULSE_LINUX_H |
+#include <memory> |
+ |
#include "webrtc/base/platform_thread.h" |
#include "webrtc/base/thread_checker.h" |
#include "webrtc/modules/audio_device/audio_device_generic.h" |
@@ -284,9 +286,9 @@ private: |
EventWrapper& _recStartEvent; |
EventWrapper& _playStartEvent; |
- // TODO(pbos): Remove scoped_ptr and use directly without resetting. |
- rtc::scoped_ptr<rtc::PlatformThread> _ptrThreadPlay; |
- rtc::scoped_ptr<rtc::PlatformThread> _ptrThreadRec; |
+ // TODO(pbos): Remove unique_ptr and use directly without resetting. |
+ std::unique_ptr<rtc::PlatformThread> _ptrThreadPlay; |
+ std::unique_ptr<rtc::PlatformThread> _ptrThreadRec; |
int32_t _id; |
AudioMixerManagerLinuxPulse _mixerManager; |