Index: content/renderer/media_capture_from_element/html_video_element_capturer_source.h |
diff --git a/content/renderer/media_capture_from_element/html_video_element_capturer_source.h b/content/renderer/media_capture_from_element/html_video_element_capturer_source.h |
index bc6f192421a42d3d8abf2deb8291c19a17e119f4..a254aab5bbf2b4ef4382449e9baca9caed933c0e 100644 |
--- a/content/renderer/media_capture_from_element/html_video_element_capturer_source.h |
+++ b/content/renderer/media_capture_from_element/html_video_element_capturer_source.h |
@@ -48,11 +48,7 @@ class CONTENT_EXPORT HtmlVideoElementCapturerSource final |
~HtmlVideoElementCapturerSource() override; |
// media::VideoCapturerSource Implementation. |
- void GetCurrentSupportedFormats( |
- int max_requested_width, |
- int max_requested_height, |
- double max_requested_frame_rate, |
- const VideoCaptureDeviceFormatsCB& callback) override; |
+ media::VideoCaptureFormats GetPreferredFormats() override; |
void StartCapture(const media::VideoCaptureParams& params, |
const VideoCaptureDeliverFrameCB& new_frame_callback, |
const RunningCallback& running_callback) override; |