Index: webrtc/examples/peerconnection/client/conductor.cc |
diff --git a/webrtc/examples/peerconnection/client/conductor.cc b/webrtc/examples/peerconnection/client/conductor.cc |
index e26d403248d75e754e4ee62afa33e6ebd38f4364..8ec6ed9c1026fd34092041b5bea9d2ad87ac01b3 100644 |
--- a/webrtc/examples/peerconnection/client/conductor.cc |
+++ b/webrtc/examples/peerconnection/client/conductor.cc |
@@ -10,6 +10,7 @@ |
#include "webrtc/examples/peerconnection/client/conductor.h" |
+#include <memory> |
#include <utility> |
#include <vector> |
@@ -308,7 +309,7 @@ void Conductor::OnMessageFromPeer(int peer_id, const std::string& message) { |
return; |
} |
webrtc::SdpParseError error; |
- rtc::scoped_ptr<webrtc::IceCandidateInterface> candidate( |
+ std::unique_ptr<webrtc::IceCandidateInterface> candidate( |
webrtc::CreateIceCandidate(sdp_mid, sdp_mlineindex, sdp, &error)); |
if (!candidate.get()) { |
LOG(WARNING) << "Can't parse received candidate message. " |