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

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

Issue 250553006: Unship MediaController by making it an experimental runtime-enabled feature (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update tests Created 6 years, 8 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
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index 77280ba10cc2e32dc70eaf19f2d09e8f2e14ae7b..be5402b6504bfd30c4e2ee5b1eec7f3083117d7c 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -417,7 +417,7 @@ void HTMLMediaElement::parseAttribute(const QualifiedName& name, const AtomicStr
if (!autoplay() && m_player)
setPlayerPreload();
- } else if (name == mediagroupAttr) {
+ } else if (name == mediagroupAttr && RuntimeEnabledFeatures::mediaControllerEnabled()) {
setMediaGroup(value);
} else {
HTMLElement::parseAttribute(name, value);

Powered by Google App Engine
This is Rietveld 408576698