| Index: third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
|
| diff --git a/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp b/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
|
| index 66412e6bffc6f3488eb46d33cb1b81ba5d566970..9216f35b396ad5bdefc6e69a6a89fc7f445c9662 100644
|
| --- a/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
|
| +++ b/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
|
| @@ -392,7 +392,7 @@ TimeRanges* MediaSource::buffered() const {
|
|
|
| // 5. For each SourceBuffer object in activeSourceBuffers run the following
|
| // steps:
|
| - bool ended = readyState() == endedKeyword();
|
| + bool ended = getReadyState() == endedKeyword();
|
| for (size_t i = 0; i < ranges.size(); ++i) {
|
| // 5.1 Let source ranges equal the ranges returned by the buffered attribute
|
| // on the current SourceBuffer.
|
| @@ -586,7 +586,7 @@ void MediaSource::setReadyState(const AtomicString& state) {
|
| DCHECK(state == openKeyword() || state == closedKeyword() ||
|
| state == endedKeyword());
|
|
|
| - AtomicString oldState = readyState();
|
| + AtomicString oldState = getReadyState();
|
| BLINK_MSLOG << __func__ << " this=" << this << " : " << oldState << " -> "
|
| << state;
|
|
|
| @@ -695,7 +695,7 @@ void MediaSource::endOfStreamInternal(
|
| }
|
|
|
| bool MediaSource::isOpen() const {
|
| - return readyState() == openKeyword();
|
| + return getReadyState() == openKeyword();
|
| }
|
|
|
| void MediaSource::setSourceBufferActive(SourceBuffer* sourceBuffer,
|
| @@ -733,7 +733,7 @@ HTMLMediaElement* MediaSource::mediaElement() const {
|
| }
|
|
|
| bool MediaSource::isClosed() const {
|
| - return readyState() == closedKeyword();
|
| + return getReadyState() == closedKeyword();
|
| }
|
|
|
| void MediaSource::close() {
|
|
|