Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: webrtc/media/engine/webrtcvideocapturerfactory.h

Issue 2685093002: Switching some interfaces to use std::unique_ptr<>. (Closed)
Patch Set: Rebase onto master Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/media/engine/webrtcvideocapturerfactory.h
diff --git a/webrtc/media/engine/webrtcvideocapturerfactory.h b/webrtc/media/engine/webrtcvideocapturerfactory.h
index 128ef9d80de28f680b0a8b04afaf7715b3564c3c..c1f91b70f6126eec412ee65ec6f481e5c796b60b 100644
--- a/webrtc/media/engine/webrtcvideocapturerfactory.h
+++ b/webrtc/media/engine/webrtcvideocapturerfactory.h
@@ -19,7 +19,7 @@ namespace cricket {
// Creates instances of cricket::WebRtcVideoCapturer.
class WebRtcVideoDeviceCapturerFactory : public VideoDeviceCapturerFactory {
public:
- virtual VideoCapturer* Create(const Device& device);
+ std::unique_ptr<VideoCapturer> Create(const Device& device) override;
};
} // namespace cricket

Powered by Google App Engine
This is Rietveld 408576698