| Index: third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| diff --git a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| index 46ce422078f9c23630977b5c4fc6712872a13bd6..46b30f32d863d07779725759b7fe35676d56022f 100644
|
| --- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| +++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp
|
| @@ -280,13 +280,13 @@ void PresentationConnection::send(DOMArrayBuffer* arrayBuffer,
|
| handleMessageQueue();
|
| }
|
|
|
| -void PresentationConnection::send(DOMArrayBufferView* arrayBufferView,
|
| +void PresentationConnection::send(NotShared<DOMArrayBufferView> arrayBufferView,
|
| ExceptionState& exceptionState) {
|
| - ASSERT(arrayBufferView);
|
| + DCHECK(arrayBufferView);
|
| if (!canSendMessage(exceptionState))
|
| return;
|
|
|
| - m_messages.push_back(new Message(arrayBufferView->buffer()));
|
| + m_messages.push_back(new Message(arrayBufferView.view()->buffer()));
|
| handleMessageQueue();
|
| }
|
|
|
|
|