Index: webrtc/api/webrtcsession.h |
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h |
index e884678c0f6db88ffea1cd6c8387c7eaa8c1a6d3..6164731982620030ae4db7992204a2196982a1bc 100644 |
--- a/webrtc/api/webrtcsession.h |
+++ b/webrtc/api/webrtcsession.h |
@@ -271,7 +271,7 @@ class WebRtcSession : public AudioProviderInterface, |
// Implements DataChannelProviderInterface. |
bool SendData(const cricket::SendDataParams& params, |
- const rtc::Buffer& payload, |
+ const rtc::CopyOnWriteBuffer& payload, |
cricket::SendDataResult* result) override; |
bool ConnectDataChannel(DataChannel* webrtc_data_channel) override; |
void DisconnectDataChannel(DataChannel* webrtc_data_channel) override; |
@@ -413,7 +413,7 @@ class WebRtcSession : public AudioProviderInterface, |
// messages. |
void OnDataChannelMessageReceived(cricket::DataChannel* channel, |
const cricket::ReceiveDataParams& params, |
- const rtc::Buffer& payload); |
+ const rtc::CopyOnWriteBuffer& payload); |
std::string BadStateErrMsg(State state); |
void SetIceConnectionState(PeerConnectionInterface::IceConnectionState state); |