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

Unified Diff: chrome/renderer/extensions/cast_streaming_native_handler.cc

Issue 2425703002: Remove |remote| and |readonly| members of MediaStreamTrack (Closed)
Patch Set: Fixed webkit_tests Created 3 years, 10 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 | « no previous file | content/public/renderer/media_stream_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/cast_streaming_native_handler.cc
diff --git a/chrome/renderer/extensions/cast_streaming_native_handler.cc b/chrome/renderer/extensions/cast_streaming_native_handler.cc
index 38ab2ae7408a3acac7fb5e813348139a593be654..d076d8837adb036d943aeb15f9024858f76facbb 100644
--- a/chrome/renderer/extensions/cast_streaming_native_handler.cc
+++ b/chrome/renderer/extensions/cast_streaming_native_handler.cc
@@ -988,14 +988,10 @@ void CastStreamingNativeHandler::AddTracksToMediaStream(
}
if (!content::AddAudioTrackToMediaStream(
audio, params.sample_rate(), params.channel_layout(),
- params.frames_per_buffer(), true, // is_remote
- true, // is_readonly
- &web_stream)) {
+ params.frames_per_buffer(), &web_stream)) {
LOG(ERROR) << "Failed to add Cast audio track to media stream.";
}
- if (!content::AddVideoTrackToMediaStream(std::move(video), true, // is_remote
- true, // is_readonly
- &web_stream)) {
+ if (!content::AddVideoTrackToMediaStream(std::move(video), &web_stream)) {
LOG(ERROR) << "Failed to add Cast video track to media stream.";
}
}
« no previous file with comments | « no previous file | content/public/renderer/media_stream_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698