| Index: talk/app/webrtc/webrtcsessiondescriptionfactory.cc
|
| diff --git a/talk/app/webrtc/webrtcsessiondescriptionfactory.cc b/talk/app/webrtc/webrtcsessiondescriptionfactory.cc
|
| index f6414d314e2644df0ecefa37f02faae30c1c1b17..caa53df4ad88d152c662ea7a7823514f6f14a2e6 100644
|
| --- a/talk/app/webrtc/webrtcsessiondescriptionfactory.cc
|
| +++ b/talk/app/webrtc/webrtcsessiondescriptionfactory.cc
|
| @@ -165,15 +165,9 @@
|
| WebRtcSession* session,
|
| const std::string& session_id,
|
| cricket::DataChannelType dct)
|
| - : WebRtcSessionDescriptionFactory(signaling_thread,
|
| - channel_manager,
|
| - mediastream_signaling,
|
| - nullptr,
|
| - nullptr,
|
| - session,
|
| - session_id,
|
| - dct,
|
| - false) {
|
| + : WebRtcSessionDescriptionFactory(
|
| + signaling_thread, channel_manager, mediastream_signaling, nullptr,
|
| + nullptr, session, session_id, dct, false) {
|
| LOG(LS_VERBOSE) << "DTLS-SRTP disabled.";
|
| }
|
|
|
| @@ -232,9 +226,9 @@
|
| // We already have a certificate but we wait to do SetIdentity; if we do
|
| // it in the constructor then the caller has not had a chance to connect to
|
| // SignalIdentityReady.
|
| - signaling_thread_->Post(
|
| - this, MSG_USE_CONSTRUCTOR_CERTIFICATE,
|
| - new rtc::ScopedRefMessageData<rtc::RTCCertificate>(certificate));
|
| + signaling_thread_->Post(this, MSG_USE_CONSTRUCTOR_CERTIFICATE,
|
| + new rtc::ScopedRefMessageData<rtc::RTCCertificate>(
|
| + certificate));
|
| }
|
|
|
| WebRtcSessionDescriptionFactory::~WebRtcSessionDescriptionFactory() {
|
| @@ -260,6 +254,8 @@
|
| delete msg.pdata;
|
| }
|
| }
|
| +
|
| + transport_desc_factory_.set_certificate(nullptr);
|
| }
|
|
|
| void WebRtcSessionDescriptionFactory::CreateOffer(
|
|
|