| Index: webrtc/p2p/base/transport.cc
|
| diff --git a/webrtc/p2p/base/transport.cc b/webrtc/p2p/base/transport.cc
|
| index b96ae842b445c8b2c4e1215542f325a2fb2e3f7c..7d16f882f4e3f4e8ed7dc2d24d055fd91b48f1b9 100644
|
| --- a/webrtc/p2p/base/transport.cc
|
| +++ b/webrtc/p2p/base/transport.cc
|
| @@ -148,15 +148,18 @@ void Transport::SetIceRole(IceRole role) {
|
| worker_thread_->Invoke<void>(Bind(&Transport::SetIceRole_w, this, role));
|
| }
|
|
|
| -void Transport::SetIdentity(rtc::SSLIdentity* identity) {
|
| - worker_thread_->Invoke<void>(Bind(&Transport::SetIdentity_w, this, identity));
|
| +void Transport::SetCertificate(
|
| + rtc::scoped_refptr<webrtc::DtlsCertificate> certificate) {
|
| + worker_thread_->Invoke<void>(Bind(&Transport::SetCertificate_w, this,
|
| + certificate));
|
| }
|
|
|
| -bool Transport::GetIdentity(rtc::SSLIdentity** identity) {
|
| +bool Transport::GetCertificate(
|
| + rtc::scoped_refptr<webrtc::DtlsCertificate>* certificate) {
|
| // The identity is set on the worker thread, so for safety it must also be
|
| // acquired on the worker thread.
|
| return worker_thread_->Invoke<bool>(
|
| - Bind(&Transport::GetIdentity_w, this, identity));
|
| + Bind(&Transport::GetCertificate_w, this, certificate));
|
| }
|
|
|
| bool Transport::GetRemoteCertificate(rtc::SSLCertificate** cert) {
|
|
|