Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: webrtc/modules/audio_device/audio_device_impl.h

Issue 1477013005: Replace RefCountImpl with rtc::RefCountedObject. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698