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

Unified Diff: content/renderer/media/media_stream_video_capturer_source.cc

Issue 2972553002: Remove MediaStreamVideoSource::GetCurrentSupportedFormats() (Closed)
Patch Set: remove extra use in media_stream_video_capturer_source_unittest.cc Created 3 years, 5 months 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: content/renderer/media/media_stream_video_capturer_source.cc
diff --git a/content/renderer/media/media_stream_video_capturer_source.cc b/content/renderer/media/media_stream_video_capturer_source.cc
index f4d0568dfacd9ffff2b754c1ffe773f094bab00a..6b25b3f807f463c45cec2c068a8cc7274a976194 100644
--- a/content/renderer/media/media_stream_video_capturer_source.cc
+++ b/content/renderer/media/media_stream_video_capturer_source.cc
@@ -197,18 +197,6 @@ void MediaStreamVideoCapturerSource::OnCapturingLinkSecured(bool is_secure) {
device_info().session_id, device_info().device.type, is_secure));
}
-void MediaStreamVideoCapturerSource::GetCurrentSupportedFormats(
- int max_requested_width,
- int max_requested_height,
- double max_requested_frame_rate,
- const VideoCaptureDeviceFormatsCB& callback) {
- source_->GetCurrentSupportedFormats(
- max_requested_width,
- max_requested_height,
- max_requested_frame_rate,
- callback);
-}
-
void MediaStreamVideoCapturerSource::StartSourceImpl(
const media::VideoCaptureFormat& format,
const blink::WebMediaConstraints& constraints,

Powered by Google App Engine
This is Rietveld 408576698