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