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

Unified Diff: components/test_runner/mock_web_user_media_client.cc

Issue 1915793002: Remove a |readonly| member of MediaStreamTrack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a |readonly| argument in unittest files Created 4 years, 7 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 | components/test_runner/mock_webrtc_peer_connection_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/mock_web_user_media_client.cc
diff --git a/components/test_runner/mock_web_user_media_client.cc b/components/test_runner/mock_web_user_media_client.cc
index e83105fb2d5be199eac5653ac077ff02bdc5ee0f..dd5b6a5037a40055ce10cf3a6f8d36ce2ff8dd39 100644
--- a/components/test_runner/mock_web_user_media_client.cc
+++ b/components/test_runner/mock_web_user_media_client.cc
@@ -69,8 +69,7 @@ void MockWebUserMediaClient::requestUserMedia(
source.initialize("MockAudioDevice#1",
WebMediaStreamSource::TypeAudio,
"Mock audio device",
- false /* remote */,
- true /* readonly */);
+ false /* remote */);
WebMediaStreamTrack web_track;
web_track.initialize(source);
stream.addTrack(web_track);
@@ -82,7 +81,7 @@ void MockWebUserMediaClient::requestUserMedia(
source.initialize("MockVideoDevice#1",
WebMediaStreamSource::TypeVideo,
"Mock video device",
- false /* remote */, true /* readonly */);
+ false /* remote */);
WebMediaStreamTrack web_track;
web_track.initialize(source);
stream.addTrack(web_track);
« no previous file with comments | « no previous file | components/test_runner/mock_webrtc_peer_connection_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698