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

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

Issue 1780653002: Revert of MediaStream audio object graph untangling and clean-ups. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_recorder_handler.cc
diff --git a/content/renderer/media/media_recorder_handler.cc b/content/renderer/media/media_recorder_handler.cc
index b734af8e6ffe1e1509aec27a623461d1f3b961d1..e43502e48ee55e1f5c6452702000338237f2f81f 100644
--- a/content/renderer/media/media_recorder_handler.cc
+++ b/content/renderer/media/media_recorder_handler.cc
@@ -135,7 +135,8 @@
}
const bool use_audio_tracks =
- !audio_tracks.isEmpty() && MediaStreamAudioTrack::From(audio_tracks[0]);
+ !audio_tracks.isEmpty() &&
+ MediaStreamAudioTrack::GetTrack(audio_tracks[0]);
webm_muxer_.reset(new media::WebmMuxer(
use_vp9_ ? media::kCodecVP9 : media::kCodecVP8,
« no previous file with comments | « content/renderer/media/audio_track_recorder_unittest.cc ('k') | content/renderer/media/media_stream_audio_level_calculator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698