Index: webrtc/api/objc/RTCConfiguration.mm |
diff --git a/webrtc/api/objc/RTCConfiguration.mm b/webrtc/api/objc/RTCConfiguration.mm |
index 2d44d015675cbefdead66bed3e904c3c97241098..29c447f8f38a92e6c70dc46d479136aad0793bc8 100644 |
--- a/webrtc/api/objc/RTCConfiguration.mm |
+++ b/webrtc/api/objc/RTCConfiguration.mm |
@@ -10,6 +10,8 @@ |
#import "RTCConfiguration.h" |
+#include <memory> |
+ |
#include "webrtc/base/sslidentity.h" |
#import "webrtc/api/objc/RTCConfiguration+Private.h" |
@@ -86,7 +88,7 @@ |
nativeConfig.ice_backup_candidate_pair_ping_interval = |
_iceBackupCandidatePairPingInterval; |
if (_keyType == RTCEncryptionKeyTypeECDSA) { |
- rtc::scoped_ptr<rtc::SSLIdentity> identity( |
+ std::unique_ptr<rtc::SSLIdentity> identity( |
rtc::SSLIdentity::Generate(webrtc::kIdentityName, rtc::KT_ECDSA)); |
if (identity) { |
nativeConfig.certificates.push_back( |