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

Unified Diff: content/public/renderer/media_stream_utils.cc

Issue 2788613003: Remove GetCurrentVideoTrackFormat dead code. (Closed)
Patch Set: no change. just remove unnecessary dependency on other patchset Created 3 years, 8 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
« no previous file with comments | « content/public/renderer/media_stream_utils.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/media_stream_utils.cc
diff --git a/content/public/renderer/media_stream_utils.cc b/content/public/renderer/media_stream_utils.cc
index 6bfcb5ebd729dd41160475edbf8ec2985b6ef22e..114728646c4be8a38c5ac32fa20d1bac19924bcd 100644
--- a/content/public/renderer/media_stream_utils.cc
+++ b/content/public/renderer/media_stream_utils.cc
@@ -95,19 +95,6 @@ bool AddAudioTrackToMediaStream(
return true;
}
-const media::VideoCaptureFormat* GetCurrentVideoTrackFormat(
- const blink::WebMediaStreamTrack& video_track) {
- if (video_track.isNull())
- return nullptr;
-
- MediaStreamVideoSource* const source =
- MediaStreamVideoSource::GetVideoSource(video_track.source());
- if (!source)
- return nullptr;
-
- return source->GetCurrentFormat();
-}
-
void RequestRefreshFrameFromVideoTrack(
const blink::WebMediaStreamTrack& video_track) {
if (video_track.isNull())
« no previous file with comments | « content/public/renderer/media_stream_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698