Index: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-lifetime-multiple-mediakeys.html |
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-lifetime-multiple-mediakeys.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-lifetime-multiple-mediakeys.html |
index b5abee4e7555a5fc686fc24d5033a0a028d68064..22ef2a6bf5a62cb838cea70404bb8d73b5dff1a8 100644 |
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-lifetime-multiple-mediakeys.html |
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-lifetime-multiple-mediakeys.html |
@@ -24,8 +24,8 @@ |
// with the new MediaKeys object. |
function createMediaKeys() |
{ |
- return getSupportedInitDataType().then(function(type) { |
- return navigator.requestMediaKeySystemAccess('org.w3.clearkey', [{}]); |
+ return getSupportedInitDataType().then(function(initDataType) { |
+ return navigator.requestMediaKeySystemAccess('org.w3.clearkey', simpleConfigurationForInitDataType(initDataType)); |
}).then(function(access) { |
return access.createMediaKeys(); |
}).then(function(mediaKeys) { |