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

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

Issue 262463003: Sync "restrained media controller" with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test 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 | « LayoutTests/media/controls-restrained-media-controller-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/MediaController.cpp
diff --git a/Source/core/html/MediaController.cpp b/Source/core/html/MediaController.cpp
index f86a22a81cd59863f3314c1aeb8b3cd4005845c5..0a72d6f3fe1934fbde326f01e91e2a93ae96245e 100644
--- a/Source/core/html/MediaController.cpp
+++ b/Source/core/html/MediaController.cpp
@@ -503,10 +503,6 @@ bool MediaController::isRestrained() const
for (MediaElementSequence::const_iterator it = m_mediaElements.begin(); it != m_mediaElements.end(); ++it) {
HTMLMediaElement* element = *it;
- // and none of its slaved media elements are blocked media elements,
- if (element->isBlocked())
- return false;
-
if (element->isAutoplaying() && element->paused())
anyAutoplayingAndPaused = true;
« no previous file with comments | « LayoutTests/media/controls-restrained-media-controller-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698