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

Unified Diff: webrtc/modules/audio_coding/test/iSACTest.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
Index: webrtc/modules/audio_coding/test/iSACTest.h
diff --git a/webrtc/modules/audio_coding/test/iSACTest.h b/webrtc/modules/audio_coding/test/iSACTest.h
index c5bb515437b24cbd955faec7f440618a4157d0fe..7d3a77e26918e8ab23e297af0957a8c48754a617 100644
--- a/webrtc/modules/audio_coding/test/iSACTest.h
+++ b/webrtc/modules/audio_coding/test/iSACTest.h
@@ -13,7 +13,8 @@
#include <string.h>
-#include "webrtc/base/scoped_ptr.h"
+#include <memory>
+
#include "webrtc/common_types.h"
#include "webrtc/modules/audio_coding/include/audio_coding_module.h"
#include "webrtc/modules/audio_coding/test/ACMTest.h"
@@ -51,11 +52,11 @@ class ISACTest : public ACMTest {
void SwitchingSamplingRate(int testNr, int maxSampRateChange);
- rtc::scoped_ptr<AudioCodingModule> _acmA;
- rtc::scoped_ptr<AudioCodingModule> _acmB;
+ std::unique_ptr<AudioCodingModule> _acmA;
+ std::unique_ptr<AudioCodingModule> _acmB;
- rtc::scoped_ptr<Channel> _channel_A2B;
- rtc::scoped_ptr<Channel> _channel_B2A;
+ std::unique_ptr<Channel> _channel_A2B;
+ std::unique_ptr<Channel> _channel_B2A;
PCMFile _inFileA;
PCMFile _inFileB;
« no previous file with comments | « webrtc/modules/audio_coding/test/delay_test.cc ('k') | webrtc/modules/audio_coding/test/insert_packet_with_timing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698