diff --git a/pc/audiotrack.cc b/pc/audiotrack.cc index 408399122a..2a3e5e3878 100644 --- a/pc/audiotrack.cc +++ b/pc/audiotrack.cc @@ -13,19 +13,17 @@ #include "rtc_base/checks.h" #include "rtc_base/refcountedobject.h" -using rtc::scoped_refptr; - namespace webrtc { // static -scoped_refptr AudioTrack::Create( +rtc::scoped_refptr AudioTrack::Create( const std::string& id, - const scoped_refptr& source) { + const rtc::scoped_refptr& source) { return new rtc::RefCountedObject(id, source); } AudioTrack::AudioTrack(const std::string& label, - const scoped_refptr& source) + const rtc::scoped_refptr& source) : MediaStreamTrack(label), audio_source_(source) { if (audio_source_) { audio_source_->RegisterObserver(this);