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

Unified Diff: webrtc/modules/audio_coding/test/insert_packet_with_timing.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/iSACTest.h ('k') | webrtc/modules/audio_coding/test/opus_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/test/insert_packet_with_timing.cc
diff --git a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc
index 481df55ffd931cf40b1e360bc42a5cc9e448605f..966f4c636c6656b32e347a072c4fd0f0b48a89ce 100644
--- a/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc
+++ b/webrtc/modules/audio_coding/test/insert_packet_with_timing.cc
@@ -10,9 +10,10 @@
#include <stdio.h>
+#include <memory>
+
#include "gflags/gflags.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/common_types.h"
#include "webrtc/modules/audio_coding/include/audio_coding_module.h"
#include "webrtc/modules/audio_coding/test/Channel.h"
@@ -241,8 +242,8 @@ class InsertPacketWithTiming {
SimulatedClock* sender_clock_;
SimulatedClock* receiver_clock_;
- rtc::scoped_ptr<AudioCodingModule> send_acm_;
- rtc::scoped_ptr<AudioCodingModule> receive_acm_;
+ std::unique_ptr<AudioCodingModule> send_acm_;
+ std::unique_ptr<AudioCodingModule> receive_acm_;
Channel* channel_;
FILE* seq_num_fid_; // Input (text), one sequence number per line.
« no previous file with comments | « webrtc/modules/audio_coding/test/iSACTest.h ('k') | webrtc/modules/audio_coding/test/opus_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698