Index: services/video_capture/video_capture_device_proxy_impl.cc |
diff --git a/services/video_capture/video_capture_device_proxy_impl.cc b/services/video_capture/video_capture_device_proxy_impl.cc |
index 2fc33b170515e70a62f5d605d7d5cd942a976377..3aa5520a5966a1f6d49a93129ea91ac0dba86af0 100644 |
--- a/services/video_capture/video_capture_device_proxy_impl.cc |
+++ b/services/video_capture/video_capture_device_proxy_impl.cc |
@@ -19,12 +19,12 @@ VideoCaptureDeviceProxyImpl::~VideoCaptureDeviceProxyImpl() { |
} |
void VideoCaptureDeviceProxyImpl::Start( |
- mojom::VideoCaptureFormatPtr requested_format, |
+ const media::VideoCaptureFormat& requested_format, |
mojom::ResolutionChangePolicy resolution_change_policy, |
mojom::PowerLineFrequency power_line_frequency, |
mojom::VideoCaptureDeviceClientPtr client) { |
media::VideoCaptureParams params; |
- params.requested_format = ConvertFromMojoToMedia(std::move(requested_format)); |
+ params.requested_format = requested_format; |
params.resolution_change_policy = |
ConvertFromMojoToMedia(resolution_change_policy); |
params.power_line_frequency = ConvertFromMojoToMedia(power_line_frequency); |