| Index: services/video_capture/public/cpp/video_capture_settings.h
|
| diff --git a/services/video_capture/public/cpp/video_capture_settings.h b/services/video_capture/public/cpp/video_capture_settings.h
|
| index eb1d0ff5a1dfe0e832997c30e1c7cd46e4836e7f..3f1f5d02ee9dc839d0aec0cc074de164e4dcfef6 100644
|
| --- a/services/video_capture/public/cpp/video_capture_settings.h
|
| +++ b/services/video_capture/public/cpp/video_capture_settings.h
|
| @@ -15,6 +15,10 @@ struct VideoCaptureFormat {
|
| gfx::Size frame_size;
|
| float frame_rate;
|
|
|
| + bool operator==(const VideoCaptureFormat& other) const {
|
| + return frame_size == other.frame_size && frame_rate == other.frame_rate;
|
| + }
|
| +
|
| void ConvertToMediaVideoCaptureFormat(
|
| media::VideoCaptureFormat* target) const {
|
| target->frame_size = frame_size;
|
|
|