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 a4d35a35cc5170cc89f1904eaf3cfc33b3e2991b..eb045a64e890c8106ca19b9a03c2c4fa34fcfb8a 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnection.cpp |
@@ -282,13 +282,14 @@ void PresentationConnection::send(DOMArrayBuffer* array_buffer, |
HandleMessageQueue(); |
} |
-void PresentationConnection::send(DOMArrayBufferView* array_buffer_view, |
- ExceptionState& exception_state) { |
- ASSERT(array_buffer_view); |
+void PresentationConnection::send( |
+ NotShared<DOMArrayBufferView> array_buffer_view, |
+ ExceptionState& exception_state) { |
+ DCHECK(array_buffer_view); |
if (!CanSendMessage(exception_state)) |
return; |
- messages_.push_back(new Message(array_buffer_view->buffer())); |
+ messages_.push_back(new Message(array_buffer_view.View()->buffer())); |
HandleMessageQueue(); |
} |