Index: webrtc/pc/test/peerconnectiontestwrapper.cc |
diff --git a/webrtc/pc/test/peerconnectiontestwrapper.cc b/webrtc/pc/test/peerconnectiontestwrapper.cc |
index 6404e2b3fcf385306141aaa7ffd73ace0f52464d..c4336996528ae2fcbb3d45ea931d3774e1b061ca 100644 |
--- a/webrtc/pc/test/peerconnectiontestwrapper.cc |
+++ b/webrtc/pc/test/peerconnectiontestwrapper.cc |
@@ -76,8 +76,7 @@ bool PeerConnectionTestWrapper::CreatePc( |
} |
std::unique_ptr<rtc::RTCCertificateGeneratorInterface> cert_generator( |
- rtc::SSLStreamAdapter::HaveDtlsSrtp() ? new FakeRTCCertificateGenerator() |
- : nullptr); |
+ new FakeRTCCertificateGenerator()); |
peer_connection_ = peer_connection_factory_->CreatePeerConnection( |
config, constraints, std::move(port_allocator), std::move(cert_generator), |
this); |