Index: talk/app/webrtc/objc/RTCVideoCapturer.mm |
diff --git a/talk/app/webrtc/objc/RTCVideoCapturer.mm b/talk/app/webrtc/objc/RTCVideoCapturer.mm |
index 9dbc201a677cd0ebd3ad7112bf47be9d8b9f2078..39f06934e7750473a140a2291411dc9c1e5ca226 100644 |
--- a/talk/app/webrtc/objc/RTCVideoCapturer.mm |
+++ b/talk/app/webrtc/objc/RTCVideoCapturer.mm |
@@ -43,7 +43,7 @@ |
+ (RTCVideoCapturer*)capturerWithDeviceName:(NSString*)deviceName { |
cricket::WebRtcVideoDeviceCapturerFactory factory; |
cricket::Device device(std::string(deviceName.UTF8String), 0); |
- rtc::scoped_ptr<cricket::VideoCapturer> capturer(factory.Create(device)); |
+ std::unique_ptr<cricket::VideoCapturer> capturer(factory.Create(device)); |
RTCVideoCapturer* rtcCapturer = |
[[RTCVideoCapturer alloc] initWithCapturer:capturer.release()]; |
return rtcCapturer; |