Index: content/renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc |
diff --git a/content/renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc b/content/renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc |
index d1d4b356970a2aab2b53a0ece0dcd8540255b782..04cf203fd49ff0e5c1cf0e2adee9845a309a9a4c 100644 |
--- a/content/renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc |
+++ b/content/renderer/media/webrtc/webrtc_media_stream_adapter_unittest.cc |
@@ -47,10 +47,8 @@ class WebRtcMediaStreamAdapterTest : public ::testing::Test { |
audio ? static_cast<size_t>(1) : 0); |
if (audio) { |
blink::WebMediaStreamSource audio_source; |
- audio_source.initialize("audio", |
- blink::WebMediaStreamSource::TypeAudio, |
- "audio", |
- false /* remote */); |
+ audio_source.initialize("audio", blink::WebMediaStreamSource::TypeAudio, |
+ "audio"); |
ProcessedLocalAudioSource* const source = new ProcessedLocalAudioSource( |
-1 /* consumer_render_frame_id is N/A for non-browser tests */, |
StreamDeviceInfo(MEDIA_DEVICE_AUDIO_CAPTURE, "Mock audio device", |
@@ -78,10 +76,8 @@ class WebRtcMediaStreamAdapterTest : public ::testing::Test { |
MediaStreamSource::SourceStoppedCallback dummy_callback; |
if (video) { |
blink::WebMediaStreamSource video_source; |
- video_source.initialize("video", |
- blink::WebMediaStreamSource::TypeVideo, |
- "video", |
- false /* remote */); |
+ video_source.initialize("video", blink::WebMediaStreamSource::TypeVideo, |
+ "video"); |
MediaStreamVideoSource* native_source = |
new MockMediaStreamVideoSource(false); |
video_source.setExtraData(native_source); |
@@ -143,9 +139,7 @@ TEST_F(WebRtcMediaStreamAdapterTest, |
// Create a blink MediaStream description. |
blink::WebMediaStreamSource audio_source; |
audio_source.initialize("audio source", |
- blink::WebMediaStreamSource::TypeAudio, |
- "something", |
- false /* remote */); |
+ blink::WebMediaStreamSource::TypeAudio, "something"); |
blink::WebVector<blink::WebMediaStreamTrack> audio_tracks( |
static_cast<size_t>(1)); |