| Index: webrtc/api/dtlsidentitystore.cc
|
| diff --git a/webrtc/api/dtlsidentitystore.cc b/webrtc/api/dtlsidentitystore.cc
|
| index a4851880650a96c55c720047810d3a48607fde8b..e07558a5d5b67617d2cca47fee4d4371b28f03bf 100644
|
| --- a/webrtc/api/dtlsidentitystore.cc
|
| +++ b/webrtc/api/dtlsidentitystore.cc
|
| @@ -51,7 +51,7 @@ class DtlsIdentityStoreImpl::WorkerTask : public sigslot::has_slots<>,
|
| private:
|
| void GenerateIdentity_w() {
|
| LOG(LS_INFO) << "Generating identity, using keytype " << key_type_;
|
| - rtc::scoped_ptr<rtc::SSLIdentity> identity(
|
| + std::unique_ptr<rtc::SSLIdentity> identity(
|
| rtc::SSLIdentity::Generate(kIdentityName, key_type_));
|
|
|
| // Posting to |this| avoids touching |store_| on threads other than
|
| @@ -192,7 +192,7 @@ void DtlsIdentityStoreImpl::GenerateIdentity(
|
| }
|
|
|
| void DtlsIdentityStoreImpl::OnIdentityGenerated(
|
| - rtc::KeyType key_type, rtc::scoped_ptr<rtc::SSLIdentity> identity) {
|
| + rtc::KeyType key_type, std::unique_ptr<rtc::SSLIdentity> identity) {
|
| RTC_DCHECK(signaling_thread_->IsCurrent());
|
|
|
| RTC_DCHECK(request_info_[key_type].gen_in_progress_counts_);
|
|
|