Index: webrtc/pc/peerconnectionfactory.cc |
diff --git a/webrtc/pc/peerconnectionfactory.cc b/webrtc/pc/peerconnectionfactory.cc |
index 1de7284cfe315549f5fbf1b4710f86f887a9bdb3..743f51702c231ff90764536617507b099b4f07f9 100644 |
--- a/webrtc/pc/peerconnectionfactory.cc |
+++ b/webrtc/pc/peerconnectionfactory.cc |
@@ -240,7 +240,7 @@ PeerConnectionFactory::CreateAudioSource( |
const MediaConstraintsInterface* constraints) { |
RTC_DCHECK(signaling_thread_->IsCurrent()); |
rtc::scoped_refptr<LocalAudioSource> source( |
- LocalAudioSource::Create(options_, constraints)); |
+ LocalAudioSource::Create(constraints)); |
return source; |
} |
@@ -248,7 +248,7 @@ rtc::scoped_refptr<AudioSourceInterface> |
PeerConnectionFactory::CreateAudioSource(const cricket::AudioOptions& options) { |
RTC_DCHECK(signaling_thread_->IsCurrent()); |
rtc::scoped_refptr<LocalAudioSource> source( |
- LocalAudioSource::Create(options_, &options)); |
+ LocalAudioSource::Create(&options)); |
return source; |
} |