Index: webrtc/pc/peerconnectionfactory.h |
diff --git a/webrtc/pc/peerconnectionfactory.h b/webrtc/pc/peerconnectionfactory.h |
index 932821f6405abbd7462b0e9b438e3af04ce2f81d..f43e94393f8d69447004eb5056e700bad8d85bab 100644 |
--- a/webrtc/pc/peerconnectionfactory.h |
+++ b/webrtc/pc/peerconnectionfactory.h |
@@ -61,13 +61,13 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface { |
const MediaConstraintsInterface* constraints) override; |
virtual rtc::scoped_refptr<VideoTrackSourceInterface> CreateVideoSource( |
- cricket::VideoCapturer* capturer) override; |
+ std::unique_ptr<cricket::VideoCapturer> capturer) override; |
// This version supports filtering on width, height and frame rate. |
// For the "constraints=null" case, use the version without constraints. |
// TODO(hta): Design a version without MediaConstraintsInterface. |
// https://bugs.chromium.org/p/webrtc/issues/detail?id=5617 |
rtc::scoped_refptr<VideoTrackSourceInterface> CreateVideoSource( |
- cricket::VideoCapturer* capturer, |
+ std::unique_ptr<cricket::VideoCapturer> capturer, |
const MediaConstraintsInterface* constraints) override; |
rtc::scoped_refptr<VideoTrackInterface> CreateVideoTrack( |
@@ -118,7 +118,7 @@ class PeerConnectionFactory : public PeerConnectionFactoryInterface { |
virtual ~PeerConnectionFactory(); |
private: |
- cricket::MediaEngineInterface* CreateMediaEngine_w(); |
+ std::unique_ptr<cricket::MediaEngineInterface> CreateMediaEngine_w(); |
bool owns_ptrs_; |
bool wraps_current_thread_; |