| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| index 9ae9d1d0dab809b057dec678a4eef22686c8db50..f2ff751f0c19c6d0c3bda93c4e723ed6074036b7 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -1690,7 +1690,10 @@ void HTMLMediaElement::seek(double time)
|
| WTF_LOG(Media, "HTMLMediaElement::seek(%p, %f)", this, time);
|
|
|
| // 2 - If the media element's readyState is HAVE_NOTHING, abort these steps.
|
| - if (m_readyState == HAVE_NOTHING)
|
| + // FIXME: remove m_webMediaPlayer check once we figure out how
|
| + // m_webMediaPlayer is going out of sync with readystate.
|
| + // m_webMediaPlayer is cleared but readystate is not set to HAVE_NOTHING.
|
| + if (!m_webMediaPlayer || m_readyState == HAVE_NOTHING)
|
| return;
|
|
|
| // Ignore preload none and start load if necessary.
|
|
|