| Index: webrtc/media/base/videocapturerfactory.h
|
| diff --git a/webrtc/media/base/videocapturerfactory.h b/webrtc/media/base/videocapturerfactory.h
|
| index 012c4a469bde3f0767daa6b7628c81b5c81efb6a..b6f886b6cf75c7b7cf38d32b54a68b4f8ffff983 100644
|
| --- a/webrtc/media/base/videocapturerfactory.h
|
| +++ b/webrtc/media/base/videocapturerfactory.h
|
| @@ -11,6 +11,8 @@
|
| #ifndef WEBRTC_MEDIA_BASE_VIDEOCAPTURERFACTORY_H_
|
| #define WEBRTC_MEDIA_BASE_VIDEOCAPTURERFACTORY_H_
|
|
|
| +#include <memory>
|
| +
|
| #include "webrtc/media/base/device.h"
|
|
|
| namespace cricket {
|
| @@ -22,7 +24,7 @@ class VideoDeviceCapturerFactory {
|
| VideoDeviceCapturerFactory() {}
|
| virtual ~VideoDeviceCapturerFactory() {}
|
|
|
| - virtual VideoCapturer* Create(const Device& device) = 0;
|
| + virtual std::unique_ptr<VideoCapturer> Create(const Device& device) = 0;
|
| };
|
|
|
| } // namespace cricket
|
|
|