Index: webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc |
diff --git a/webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc b/webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc |
index 2594fd1317b0a106a27c45db9f7eb90e6d5f3d57..fb07b569faf406032e961e82be931f7baed8030e 100644 |
--- a/webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc |
+++ b/webrtc/tools/e2e_quality/audio/audio_e2e_harness.cc |
@@ -12,10 +12,11 @@ |
// and runs forever. Some parameters can be configured through command-line |
// flags. |
+#include <memory> |
+ |
#include "gflags/gflags.h" |
#include "testing/gtest/include/gtest/gtest.h" |
-#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/test/channel_transport/channel_transport.h" |
#include "webrtc/voice_engine/include/voe_audio_processing.h" |
#include "webrtc/voice_engine/include/voe_base.h" |
@@ -48,7 +49,7 @@ void RunHarness() { |
int channel = base->CreateChannel(); |
ASSERT_NE(-1, channel); |
- rtc::scoped_ptr<VoiceChannelTransport> voice_channel_transport( |
+ std::unique_ptr<VoiceChannelTransport> voice_channel_transport( |
new VoiceChannelTransport(network, channel)); |
ASSERT_EQ(0, voice_channel_transport->SetSendDestination("127.0.0.1", 1234)); |