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 9914b7d188f507ecf5cf63c6297c348365bfd667..9edf22ea2786855e941702d4f7e8e5bc65cd06a7 100644 |
--- a/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp |
+++ b/third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp |
@@ -313,7 +313,7 @@ |
m_appendWindowEnd = end; |
} |
-void SourceBuffer::appendBuffer(DOMArrayBuffer* data, ExceptionState& exceptionState) |
+void SourceBuffer::appendBuffer(PassRefPtr<DOMArrayBuffer> data, ExceptionState& exceptionState) |
{ |
WTF_LOG(Media, "SourceBuffer(%p)::appendBuffer size=%u", this, data->byteLength()); |
// Section 3.2 appendBuffer() |
@@ -321,7 +321,7 @@ |
appendBufferInternal(static_cast<const unsigned char*>(data->data()), data->byteLength(), exceptionState); |
} |
-void SourceBuffer::appendBuffer(DOMArrayBufferView* data, ExceptionState& exceptionState) |
+void SourceBuffer::appendBuffer(PassRefPtr<DOMArrayBufferView> data, ExceptionState& exceptionState) |
{ |
WTF_LOG(Media, "SourceBuffer(%p)::appendBuffer size=%u", this, data->byteLength()); |
// Section 3.2 appendBuffer() |