| Index: webrtc/modules/video_capture/video_capture_factory.cc
|
| diff --git a/webrtc/modules/video_capture/video_capture_factory.cc b/webrtc/modules/video_capture/video_capture_factory.cc
|
| index 618c08bac64dd8f340e0158540aec7f4023700a7..927beba080e2cba0ed325b937301ff8bf09ad40a 100644
|
| --- a/webrtc/modules/video_capture/video_capture_factory.cc
|
| +++ b/webrtc/modules/video_capture/video_capture_factory.cc
|
| @@ -12,10 +12,10 @@
|
|
|
| #include "webrtc/modules/video_capture/video_capture_impl.h"
|
|
|
| -namespace webrtc
|
| -{
|
| +namespace webrtc {
|
|
|
| -VideoCaptureModule* VideoCaptureFactory::Create(const int32_t id,
|
| +rtc::scoped_refptr<VideoCaptureModule> VideoCaptureFactory::Create(
|
| + const int32_t id,
|
| const char* deviceUniqueIdUTF8) {
|
| #if defined(ANDROID)
|
| return nullptr;
|
| @@ -24,7 +24,8 @@ VideoCaptureModule* VideoCaptureFactory::Create(const int32_t id,
|
| #endif
|
| }
|
|
|
| -VideoCaptureModule* VideoCaptureFactory::Create(const int32_t id,
|
| +rtc::scoped_refptr<VideoCaptureModule> VideoCaptureFactory::Create(
|
| + const int32_t id,
|
| VideoCaptureExternal*& externalCapture) {
|
| return videocapturemodule::VideoCaptureImpl::Create(id, externalCapture);
|
| }
|
|
|