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

Unified Diff: webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc

Issue 1702983002: Replace scoped_ptr with unique_ptr in webrtc/voice_engine/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
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/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc
diff --git a/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc b/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc
index d653cc129716dde6790f1fb044a8bd9d10b65440..eeb7fa515a0fcd7f07b0101372d8700369a9be93 100644
--- a/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc
+++ b/webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc
@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <memory>
+
#include "webrtc/base/criticalsection.h"
#include "webrtc/system_wrappers/include/atomic32.h"
#include "webrtc/system_wrappers/include/event_wrapper.h"
@@ -35,7 +37,7 @@ class TestRtpObserver : public webrtc::VoERTPObserver {
public:
rtc::CriticalSection crit_;
unsigned int incoming_ssrc_;
- rtc::scoped_ptr<voetest::EventWrapper> changed_ssrc_event_;
+ std::unique_ptr<voetest::EventWrapper> changed_ssrc_event_;
};
void TestRtpObserver::OnIncomingSSRCChanged(int channel,
« no previous file with comments | « webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_extensions.cc ('k') | webrtc/voice_engine/test/auto_test/voe_cpu_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698