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

Unified Diff: webrtc/modules/audio_coding/test/PacketLossTest.cc

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/PacketLossTest.h ('k') | webrtc/modules/audio_coding/test/SpatialAudio.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/test/PacketLossTest.cc
diff --git a/webrtc/modules/audio_coding/test/PacketLossTest.cc b/webrtc/modules/audio_coding/test/PacketLossTest.cc
index ad3e83403e076c8e22a417626c5dd15de130ec81..891471dce572c2321eb4fda41184cf652beec364 100644
--- a/webrtc/modules/audio_coding/test/PacketLossTest.cc
+++ b/webrtc/modules/audio_coding/test/PacketLossTest.cc
@@ -10,6 +10,8 @@
#include "webrtc/modules/audio_coding/test/PacketLossTest.h"
+#include <memory>
+
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/common.h"
#include "webrtc/test/testsupport/fileutils.h"
@@ -126,7 +128,7 @@ void PacketLossTest::Perform() {
#ifndef WEBRTC_CODEC_OPUS
return;
#else
- rtc::scoped_ptr<AudioCodingModule> acm(AudioCodingModule::Create(0));
+ std::unique_ptr<AudioCodingModule> acm(AudioCodingModule::Create(0));
int codec_id = acm->Codec("opus", 48000, channels_);
« no previous file with comments | « webrtc/modules/audio_coding/test/PacketLossTest.h ('k') | webrtc/modules/audio_coding/test/SpatialAudio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698