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

Unified Diff: webrtc/modules/audio_coding/acm2/initial_delay_manager_unittest.cc

Issue 1694073002: Replace scoped_ptr with unique_ptr in webrtc/modules/audio_coding/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@up-actest
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/acm2/initial_delay_manager_unittest.cc
diff --git a/webrtc/modules/audio_coding/acm2/initial_delay_manager_unittest.cc b/webrtc/modules/audio_coding/acm2/initial_delay_manager_unittest.cc
index d86d2218511ec471d73908759dfc2a1907aa6e82..bf2850d0ec8b409ea6f8941680097c52a83fc50e 100644
--- a/webrtc/modules/audio_coding/acm2/initial_delay_manager_unittest.cc
+++ b/webrtc/modules/audio_coding/acm2/initial_delay_manager_unittest.cc
@@ -10,6 +10,8 @@
#include <string.h>
+#include <memory>
+
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/modules/audio_coding/acm2/initial_delay_manager.h"
@@ -78,7 +80,7 @@ class InitialDelayManagerTest : public ::testing::Test {
NextRtpHeader(rtp_info, rtp_receive_timestamp);
}
- rtc::scoped_ptr<InitialDelayManager> manager_;
+ std::unique_ptr<InitialDelayManager> manager_;
WebRtcRTPHeader rtp_info_;
uint32_t rtp_receive_timestamp_;
};

Powered by Google App Engine
This is Rietveld 408576698