| Index: Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
|
| index 23d96cc761483430a3c06a0c4c338f34e59efd1f..c84422593dd2d0288b17efe586c84891b6d990ee 100644
|
| --- a/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/Source/core/html/HTMLMediaElement.cpp
|
| @@ -3530,10 +3530,8 @@ void HTMLMediaElement::stop()
|
| bool HTMLMediaElement::hasPendingActivity() const
|
| {
|
| // After the document becomes inactive, no events can ever be fired.
|
| - if (!document().isActive()) {
|
| - ASSERT(!m_asyncEventQueue->hasPendingEvents());
|
| + if (!document().isActive())
|
| return false;
|
| - }
|
|
|
| // The delaying-the-load-event flag is set by resource selection algorithm when looking for a
|
| // resource to load, before networkState has reached to NETWORK_LOADING.
|
|
|