| Index: webrtc/api/peerconnection.cc
|
| diff --git a/webrtc/api/peerconnection.cc b/webrtc/api/peerconnection.cc
|
| index 581159f13ac312614dbc20fd0c35fb1bf9bd60a4..6ffe1b9a6a1d8b4accd86a4358cfbdbdc052318a 100644
|
| --- a/webrtc/api/peerconnection.cc
|
| +++ b/webrtc/api/peerconnection.cc
|
| @@ -566,7 +566,7 @@ PeerConnection::~PeerConnection() {
|
| bool PeerConnection::Initialize(
|
| const PeerConnectionInterface::RTCConfiguration& configuration,
|
| std::unique_ptr<cricket::PortAllocator> allocator,
|
| - std::unique_ptr<DtlsIdentityStoreInterface> dtls_identity_store,
|
| + std::unique_ptr<rtc::RTCCertificateGeneratorInterface> cert_generator,
|
| PeerConnectionObserver* observer) {
|
| TRACE_EVENT0("webrtc", "PeerConnection::Initialize");
|
| RTC_DCHECK(observer != nullptr);
|
| @@ -594,7 +594,7 @@ bool PeerConnection::Initialize(
|
| stats_.reset(new StatsCollector(this));
|
|
|
| // Initialize the WebRtcSession. It creates transport channels etc.
|
| - if (!session_->Initialize(factory_->options(), std::move(dtls_identity_store),
|
| + if (!session_->Initialize(factory_->options(), std::move(cert_generator),
|
| configuration)) {
|
| return false;
|
| }
|
|
|