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

Unified Diff: webrtc/modules/audio_coding/test/TestStereo.h

Issue 1695763004: Replace scoped_ptr with unique_ptr in webrtc/modules/audio_coding/test/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up-neteq
Patch Set: Created 4 years, 10 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
« no previous file with comments | « webrtc/modules/audio_coding/test/TestRedFec.h ('k') | webrtc/modules/audio_coding/test/TestVADDTX.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/test/TestStereo.h
diff --git a/webrtc/modules/audio_coding/test/TestStereo.h b/webrtc/modules/audio_coding/test/TestStereo.h
index 4526be6960398a64a0690d537ae48af1a57b7c1b..3489421345a48716e9ea0f827b4e29979a0ffcfb 100644
--- a/webrtc/modules/audio_coding/test/TestStereo.h
+++ b/webrtc/modules/audio_coding/test/TestStereo.h
@@ -13,7 +13,8 @@
#include <math.h>
-#include "webrtc/base/scoped_ptr.h"
+#include <memory>
+
#include "webrtc/modules/audio_coding/test/ACMTest.h"
#include "webrtc/modules/audio_coding/test/Channel.h"
#include "webrtc/modules/audio_coding/test/PCMFile.h"
@@ -82,8 +83,8 @@ class TestStereo : public ACMTest {
int test_mode_;
- rtc::scoped_ptr<AudioCodingModule> acm_a_;
- rtc::scoped_ptr<AudioCodingModule> acm_b_;
+ std::unique_ptr<AudioCodingModule> acm_a_;
+ std::unique_ptr<AudioCodingModule> acm_b_;
TestPackStereo* channel_a2b_;
« no previous file with comments | « webrtc/modules/audio_coding/test/TestRedFec.h ('k') | webrtc/modules/audio_coding/test/TestVADDTX.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698