Index: third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp |
diff --git a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp |
index ff7badec60d8c669ed4689c3fcd03ad91ca05b25..8ac5648a551c47179a8cb4762dbba9082f01332d 100644 |
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp |
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp |
@@ -360,15 +360,13 @@ |
data->ByteLength(), exception_state); |
} |
-void SourceBuffer::appendBuffer(NotShared<DOMArrayBufferView> data, |
+void SourceBuffer::appendBuffer(DOMArrayBufferView* data, |
ExceptionState& exception_state) { |
- BLINK_SBLOG << __func__ << " this=" << this |
- << " size=" << data.View()->byteLength(); |
+ BLINK_SBLOG << __func__ << " this=" << this << " size=" << data->byteLength(); |
// Section 3.2 appendBuffer() |
// https://dvcs.w3.org/hg/html-media/raw-file/default/media-source/media-source.html#widl-SourceBuffer-appendBuffer-void-ArrayBufferView-data |
- AppendBufferInternal( |
- static_cast<const unsigned char*>(data.View()->BaseAddress()), |
- data.View()->byteLength(), exception_state); |
+ AppendBufferInternal(static_cast<const unsigned char*>(data->BaseAddress()), |
+ data->byteLength(), exception_state); |
} |
void SourceBuffer::abort(ExceptionState& exception_state) { |