| Index: third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
|
| diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
|
| index 0041bd2430a7ebef9ab6a408f953184a52ea8377..d30cc48bdcf20a60490af8bba5dc3ffa99478af7 100644
|
| --- a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
|
| +++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannel.cpp
|
| @@ -227,10 +227,11 @@ void RTCDataChannel::send(DOMArrayBuffer* data,
|
| }
|
| }
|
|
|
| -void RTCDataChannel::send(DOMArrayBufferView* data,
|
| +void RTCDataChannel::send(NotShared<DOMArrayBufferView> data,
|
| ExceptionState& exception_state) {
|
| - if (!handler_->SendRawData(static_cast<const char*>(data->BaseAddress()),
|
| - data->byteLength())) {
|
| + if (!handler_->SendRawData(
|
| + static_cast<const char*>(data.View()->BaseAddress()),
|
| + data.View()->byteLength())) {
|
| // FIXME: This should not throw an exception but instead forcefully close
|
| // the data channel.
|
| ThrowCouldNotSendDataException(exception_state);
|
|
|