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

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

Issue 2973503002: Remove unused parameters from MediaStreamVideoSource::StartCaptureImpl() (Closed)
Patch Set: rebase 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_source.cc
diff --git a/content/renderer/media/media_stream_video_source.cc b/content/renderer/media/media_stream_video_source.cc
index 54852968b1f2fd4b606abe57b1aa12b0596a6922..6ab4c039359432f3742c7d08c1152b0a1f4812db 100644
--- a/content/renderer/media/media_stream_video_source.cc
+++ b/content/renderer/media/media_stream_video_source.cc
@@ -61,9 +61,7 @@ void MediaStreamVideoSource::AddTrack(
switch (state_) {
case NEW: {
state_ = STARTING;
- blink::WebMediaConstraints ignored_constraints;
StartSourceImpl(
- media::VideoCaptureFormat() /* ignored */, ignored_constraints,
base::Bind(&VideoTrackAdapter::DeliverFrameOnIO, track_adapter_));
break;
}
« no previous file with comments | « content/renderer/media/media_stream_video_source.h ('k') | content/renderer/media/mock_media_stream_video_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698