| Index: webrtc/modules/audio_device/audio_device_impl.h
|
| diff --git a/webrtc/modules/audio_device/audio_device_impl.h b/webrtc/modules/audio_device/audio_device_impl.h
|
| index d7c48abf1767ecb89ca2466c69986de1078f1b52..a112e3e3bf68543fbfd3c38fae6faf9b25796ce2 100644
|
| --- a/webrtc/modules/audio_device/audio_device_impl.h
|
| +++ b/webrtc/modules/audio_device/audio_device_impl.h
|
| @@ -16,6 +16,7 @@
|
| #include <memory>
|
|
|
| #include "webrtc/base/checks.h"
|
| +#include "webrtc/base/scoped_ref_ptr.h"
|
| #include "webrtc/modules/audio_device/audio_device_buffer.h"
|
| #include "webrtc/modules/audio_device/include/audio_device.h"
|
|
|
| @@ -48,7 +49,7 @@ class AudioDeviceModuleImpl : public AudioDeviceModule {
|
| void Process() override;
|
|
|
| // Factory methods (resource allocation/deallocation)
|
| - static AudioDeviceModule* Create(
|
| + static rtc::scoped_refptr<AudioDeviceModule> Create(
|
| const int32_t id,
|
| const AudioLayer audioLayer = kPlatformDefaultAudio);
|
|
|
|
|