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

Unified Diff: content/renderer/media/capturefromelement/canvas_capture_handler.cc

Issue 2710213005: Revert of Remove |remote| and |readonly| members of MediaStreamTrack (Closed)
Patch Set: 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
Index: content/renderer/media/capturefromelement/canvas_capture_handler.cc
diff --git a/content/renderer/media/capturefromelement/canvas_capture_handler.cc b/content/renderer/media/capturefromelement/canvas_capture_handler.cc
index 6462184eb65b6620de9800ef2fedb83ca7f7e202..b462e7346946dd69a2b2a661779a6810787da885 100644
--- a/content/renderer/media/capturefromelement/canvas_capture_handler.cc
+++ b/content/renderer/media/capturefromelement/canvas_capture_handler.cc
@@ -267,7 +267,7 @@
new MediaStreamVideoCapturerSource(
MediaStreamSource::SourceStoppedCallback(), std::move(source)));
webkit_source.initialize(track_id, blink::WebMediaStreamSource::TypeVideo,
- track_id);
+ track_id, false);
webkit_source.setExtraData(media_stream_source.get());
web_track->initialize(webkit_source);

Powered by Google App Engine
This is Rietveld 408576698