| Index: Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
|
| index 5989e22687f9677f46374eca682cd28eec45fbd8..cd6605f3c1ba41e722a561d6720932c8e3b5fe8b 100644
|
| --- a/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/Source/core/html/HTMLMediaElement.cpp
|
| @@ -1826,7 +1826,7 @@ HTMLMediaElement::ReadyState HTMLMediaElement::readyState() const
|
|
|
| bool HTMLMediaElement::hasAudio() const
|
| {
|
| - return m_player ? m_player->hasAudio() : false;
|
| + return webMediaPlayer() ? webMediaPlayer()->hasAudio() : false;
|
| }
|
|
|
| bool HTMLMediaElement::seeking() const
|
| @@ -3244,16 +3244,16 @@ void HTMLMediaElement::setClosedCaptionsVisible(bool closedCaptionVisible)
|
|
|
| unsigned HTMLMediaElement::webkitAudioDecodedByteCount() const
|
| {
|
| - if (!m_player)
|
| + if (!webMediaPlayer())
|
| return 0;
|
| - return m_player->audioDecodedByteCount();
|
| + return webMediaPlayer()->audioDecodedByteCount();
|
| }
|
|
|
| unsigned HTMLMediaElement::webkitVideoDecodedByteCount() const
|
| {
|
| - if (!m_player)
|
| + if (!webMediaPlayer())
|
| return 0;
|
| - return m_player->videoDecodedByteCount();
|
| + return webMediaPlayer()->videoDecodedByteCount();
|
| }
|
|
|
| bool HTMLMediaElement::isURLAttribute(const Attribute& attribute) const
|
|
|