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

Unified Diff: media/video/capture/linux/video_capture_device_factory_linux.cc

Issue 720043003: Use factory method to create VideoCaptureDeviceFactory . (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes by review comments. Created 6 years, 1 month 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: media/video/capture/linux/video_capture_device_factory_linux.cc
diff --git a/media/video/capture/linux/video_capture_device_factory_linux.cc b/media/video/capture/linux/video_capture_device_factory_linux.cc
index 36d69d87405ecc8140b0435ab48e73bc78ecef6f..7e5b99ca35a7b1af68dd2be67e0683fbb7020a52 100644
--- a/media/video/capture/linux/video_capture_device_factory_linux.cc
+++ b/media/video/capture/linux/video_capture_device_factory_linux.cc
@@ -195,4 +195,11 @@ void VideoCaptureDeviceFactoryLinux::GetDeviceSupportedFormats(
return;
}
+// static
+VideoCaptureDeviceFactory*
+VideoCaptureDeviceFactory::CreateVideoCaptureDeviceFactory(
+ scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
+ return new VideoCaptureDeviceFactoryLinux(ui_task_runner);
+}
+
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698