Index: webrtc/pc/peerconnection.h |
diff --git a/webrtc/pc/peerconnection.h b/webrtc/pc/peerconnection.h |
index 289a5d87a7c581b90041953deea5e7b5e587f1c4..e563d513973d47038ae0b97d5d40c88de131eaed 100644 |
--- a/webrtc/pc/peerconnection.h |
+++ b/webrtc/pc/peerconnection.h |
@@ -61,7 +61,9 @@ class PeerConnection : public PeerConnectionInterface, |
public rtc::MessageHandler, |
public sigslot::has_slots<> { |
public: |
- explicit PeerConnection(PeerConnectionFactory* factory); |
+ explicit PeerConnection(PeerConnectionFactory* factory, |
+ std::unique_ptr<RtcEventLog> event_log, |
+ std::unique_ptr<Call> call); |
bool Initialize( |
const PeerConnectionInterface::RTCConfiguration& configuration, |
@@ -392,9 +394,6 @@ class PeerConnection : public PeerConnectionInterface, |
// This function should only be called from the worker thread. |
void StopRtcEventLog_w(); |
- // Creates the |*call_| object. Must only be called from the worker thread. |
- void CreateCall_w(); |
- |
// Storing the factory as a scoped reference pointer ensures that the memory |
// in the PeerConnectionFactoryImpl remains available as long as the |
// PeerConnection is running. It is passed to PeerConnection as a raw pointer. |