Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(638)

Unified Diff: Source/core/html/HTMLMediaElement.cpp

Issue 584633004: Remove incorrect ASSERT from HTMLMediaElement::hasPendingElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698