Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / content / renderer / media / media_stream_dependency_factory.cc
index 1a829c3..0393fa4 100644 (file)
@@ -567,11 +567,8 @@ void MediaStreamDependencyFactory::CreateLocalAudioTrack(
 
   StartLocalAudioTrack(audio_track.get());
 
-  // Pass the pointer of the source provider to the blink audio track.
-  blink::WebMediaStreamTrack writable_track = track;
-  writable_track.setSourceProvider(audio_track->audio_source_provider());
-
   // Pass the ownership of the native local audio track to the blink track.
+  blink::WebMediaStreamTrack writable_track = track;
   writable_track.setExtraData(audio_track.release());
 }