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

Unified Diff: content/renderer/media/mock_media_stream_registry.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/mock_media_stream_registry.cc
diff --git a/content/renderer/media/mock_media_stream_registry.cc b/content/renderer/media/mock_media_stream_registry.cc
index 7f10526e3582271346a67372b3e6e2e9841e526f..ff5ecdff912b0cae676ffa3eb192b15e8511609a 100644
--- a/content/renderer/media/mock_media_stream_registry.cc
+++ b/content/renderer/media/mock_media_stream_registry.cc
@@ -66,8 +66,7 @@ void MockMediaStreamRegistry::AddVideoTrack(
blink_source.Initialize("mock video source id",
blink::WebMediaStreamSource::kTypeVideo,
"mock video source name", false /* remote */);
- MockMediaStreamVideoSource* native_source =
- new MockMediaStreamVideoSource(false /* manual get supported formats */);
+ MockMediaStreamVideoSource* native_source = new MockMediaStreamVideoSource();
blink_source.SetExtraData(native_source);
blink::WebMediaStreamTrack blink_track;
blink_track.Initialize(blink::WebString::FromUTF8(track_id), blink_source);
« 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