Index: content/renderer/media/mock_media_stream_registry.cc |
diff --git a/content/renderer/media/mock_media_stream_registry.cc b/content/renderer/media/mock_media_stream_registry.cc |
index 4ad5342892177ab484eaced9998ac586f3506676..96e667142891dcc3e681001b3d25a05e58f791d9 100644 |
--- a/content/renderer/media/mock_media_stream_registry.cc |
+++ b/content/renderer/media/mock_media_stream_registry.cc |
@@ -61,7 +61,8 @@ |
blink::WebMediaStreamSource blink_source; |
blink_source.initialize("mock video source id", |
blink::WebMediaStreamSource::TypeVideo, |
- "mock video source name"); |
+ "mock video source name", |
+ false /* remote */); |
MockMediaStreamVideoSource* native_source = |
new MockMediaStreamVideoSource(false /* manual get supported formats */); |
blink_source.setExtraData(native_source); |
@@ -83,9 +84,9 @@ |
void MockMediaStreamRegistry::AddAudioTrack(const std::string& track_id) { |
blink::WebMediaStreamSource blink_source; |
- blink_source.initialize("mock audio source id", |
- blink::WebMediaStreamSource::TypeAudio, |
- "mock audio source name"); |
+ blink_source.initialize( |
+ "mock audio source id", blink::WebMediaStreamSource::TypeAudio, |
+ "mock audio source name", false /* remote */); |
MediaStreamAudioSource* const source = new MockCDQualityAudioSource(); |
blink_source.setExtraData(source); // Takes ownership. |