Index: webrtc/api/webrtcsession.h |
diff --git a/webrtc/api/webrtcsession.h b/webrtc/api/webrtcsession.h |
index 27472c9136ccb1d02fbfa3f10397ccce3d5deb97..07e432661fb93ed99c70cc06bc1d53aa26557c9e 100644 |
--- a/webrtc/api/webrtcsession.h |
+++ b/webrtc/api/webrtcsession.h |
@@ -255,7 +255,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; |
@@ -397,7 +397,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); |