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

Unified Diff: webrtc/voice_engine/test/auto_test/voe_cpu_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/voe_cpu_test.cc
diff --git a/webrtc/voice_engine/test/auto_test/voe_cpu_test.cc b/webrtc/voice_engine/test/auto_test/voe_cpu_test.cc
index 5666b3f8d180ffa1c14ed5e291ba18d4029af558..3bf51aa0ff2b7290d97aeeda96491c5c52f98931 100644
--- a/webrtc/voice_engine/test/auto_test/voe_cpu_test.cc
+++ b/webrtc/voice_engine/test/auto_test/voe_cpu_test.cc
@@ -17,7 +17,8 @@
#include <conio.h>
#endif
-#include "webrtc/base/scoped_ptr.h"
+#include <memory>
+
#include "webrtc/test/channel_transport/channel_transport.h"
#include "webrtc/voice_engine/test/auto_test/voe_test_defines.h"
@@ -64,7 +65,7 @@ int VoECpuTest::DoTest() {
CHECK(base->Init());
channel = base->CreateChannel();
- rtc::scoped_ptr<VoiceChannelTransport> voice_socket_transport(
+ std::unique_ptr<VoiceChannelTransport> voice_socket_transport(
new VoiceChannelTransport(voe_network, channel));
CHECK(voice_socket_transport->SetSendDestination("127.0.0.1", 5566));
« no previous file with comments | « webrtc/voice_engine/test/auto_test/standard/rtp_rtcp_test.cc ('k') | webrtc/voice_engine/test/auto_test/voe_output_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698