Index: webrtc/voice_engine/channel_proxy.h |
diff --git a/webrtc/voice_engine/channel_proxy.h b/webrtc/voice_engine/channel_proxy.h |
index b990d9173452a57299f0a70674c3f35427de0c5a..03d736d0667894685f9e1d3583767e3ceb08a7ee 100644 |
--- a/webrtc/voice_engine/channel_proxy.h |
+++ b/webrtc/voice_engine/channel_proxy.h |
@@ -11,6 +11,7 @@ |
#ifndef WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
#define WEBRTC_VOICE_ENGINE_CHANNEL_PROXY_H_ |
+#include "webrtc/base/scoped_ref_ptr.h" |
#include "webrtc/base/thread_checker.h" |
#include "webrtc/voice_engine/channel_manager.h" |
#include "webrtc/voice_engine/include/voe_rtp_rtcp.h" |
@@ -65,7 +66,7 @@ class ChannelProxy { |
virtual bool SetSendTelephoneEventPayloadType(int payload_type); |
virtual bool SendTelephoneEventOutband(uint8_t event, uint32_t duration_ms); |
- virtual void SetSink(rtc::scoped_ptr<AudioSinkInterface> sink); |
+ virtual void SetSink(rtc::scoped_refptr<AudioSinkInterface> sink); |
private: |
Channel* channel() const; |