| 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 5109693964005f598b5c598a43022bf81c3661ef..077dff5fa6cd3dd5cd466e437852699fb32f978e 100644
|
| --- a/webrtc/modules/audio_device/audio_device_impl.h
|
| +++ b/webrtc/modules/audio_device/audio_device_impl.h
|
| @@ -15,6 +15,7 @@
|
|
|
| #include "webrtc/base/checks.h"
|
| #include "webrtc/base/scoped_ptr.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"
|
|
|
| @@ -47,7 +48,7 @@ class AudioDeviceModuleImpl : public AudioDeviceModule {
|
| int32_t Process() override;
|
|
|
| // Factory methods (resource allocation/deallocation)
|
| - static AudioDeviceModule* Create(
|
| + static rtc::scoped_refptr<AudioDeviceModule> Create(
|
| const int32_t id,
|
| const AudioLayer audioLayer = kPlatformDefaultAudio);
|
|
|
|
|