Index: webrtc/base/rtccertificategenerator.cc |
diff --git a/webrtc/base/rtccertificategenerator.cc b/webrtc/base/rtccertificategenerator.cc |
index d4572b01590c8d56865ec631f5574b607eb54328..f0d72e7fe4df84d76902e52c8fe7c6cc8b168cb3 100644 |
--- a/webrtc/base/rtccertificategenerator.cc |
+++ b/webrtc/base/rtccertificategenerator.cc |
@@ -11,6 +11,7 @@ |
#include "webrtc/base/rtccertificategenerator.h" |
#include <algorithm> |
+#include <memory> |
#include "webrtc/base/checks.h" |
#include "webrtc/base/sslidentity.h" |
@@ -124,7 +125,7 @@ RTCCertificateGenerator::GenerateCertificate( |
} |
if (!identity) |
return nullptr; |
- scoped_ptr<SSLIdentity> identity_sptr(identity); |
+ std::unique_ptr<SSLIdentity> identity_sptr(identity); |
return RTCCertificate::Create(std::move(identity_sptr)); |
} |