| Index: content/renderer/media/mock_media_stream_video_source.cc
|
| diff --git a/content/renderer/media/mock_media_stream_video_source.cc b/content/renderer/media/mock_media_stream_video_source.cc
|
| index b1e58f3957b2233453d02fa3c25ed4a38a1f468b..2e9b6a123775c4fea27001f5406c6336e6c0c8dc 100644
|
| --- a/content/renderer/media/mock_media_stream_video_source.cc
|
| +++ b/content/renderer/media/mock_media_stream_video_source.cc
|
| @@ -15,6 +15,7 @@ MockMediaStreamVideoSource::MockMediaStreamVideoSource(
|
| : manual_get_supported_formats_(manual_get_supported_formats),
|
| max_requested_height_(0),
|
| max_requested_width_(0),
|
| + max_requested_frame_rate_(0.0),
|
| attempted_to_start_(false) {
|
| supported_formats_.push_back(
|
| media::VideoCaptureFormat(
|
| @@ -46,10 +47,12 @@ void MockMediaStreamVideoSource::CompleteGetSupportedFormats() {
|
| void MockMediaStreamVideoSource::GetCurrentSupportedFormats(
|
| int max_requested_height,
|
| int max_requested_width,
|
| + double max_requested_frame_rate,
|
| const VideoCaptureDeviceFormatsCB& callback) {
|
| DCHECK(formats_callback_.is_null());
|
| max_requested_height_ = max_requested_height;
|
| max_requested_width_ = max_requested_width;
|
| + max_requested_frame_rate_ = max_requested_frame_rate;
|
|
|
| if (manual_get_supported_formats_) {
|
| formats_callback_ = callback;
|
|
|