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