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..8f563090d57ddb30561b264a7707d9be6e87fa59 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp |
@@ -280,13 +280,14 @@ void PresentationConnection::send(DOMArrayBuffer* arrayBuffer, |
handleMessageQueue(); |
} |
-void PresentationConnection::send(DOMArrayBufferView* arrayBufferView, |
- ExceptionState& exceptionState) { |
- ASSERT(arrayBufferView); |
+void PresentationConnection::send( |
+ const NotShared<DOMArrayBufferView>& arrayBufferView, |
+ ExceptionState& exceptionState) { |
+ DCHECK(arrayBufferView.view()); |
if (!canSendMessage(exceptionState)) |
return; |
- m_messages.push_back(new Message(arrayBufferView->buffer())); |
+ m_messages.push_back(new Message(arrayBufferView.view()->buffer())); |
handleMessageQueue(); |
} |