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

Unified Diff: media/blink/key_system_config_selector.cc

Issue 2707393002: Revert "EME: Fail requestMediaKeySystemAccess if no capabilities specified"
Patch Set: Created 3 years, 10 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 | media/test/data/eme_player_js/player_utils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/key_system_config_selector.cc
diff --git a/media/blink/key_system_config_selector.cc b/media/blink/key_system_config_selector.cc
index 57998696127b922bcb7bc8ffda611e29826626cf..f6deabec94c6633daef988fdbe448646765122bc 100644
--- a/media/blink/key_system_config_selector.cc
+++ b/media/blink/key_system_config_selector.cc
@@ -650,10 +650,8 @@ KeySystemConfigSelector::GetSupportedConfiguration(
// 15. If the videoCapabilities and audioCapabilities members in candidate
// configuration are both empty, return NotSupported.
- if (candidate.videoCapabilities.isEmpty() &&
- candidate.audioCapabilities.isEmpty()) {
- return CONFIGURATION_NOT_SUPPORTED;
- }
+ // TODO(jrummell): Enforce this once the deprecation warning is removed.
+ // See http://crbug.com/616233.
// 16. If the videoCapabilities member in candidate configuration is
// non-empty:
« no previous file with comments | « no previous file | media/test/data/eme_player_js/player_utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698