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..d41afa8470a6c72f9ced0d606dbeee2f2599c505 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,9 +24,7 @@ |
// with the new MediaKeys object. |
function createMediaKeys() |
{ |
- return getSupportedInitDataType().then(function(type) { |
- return navigator.requestMediaKeySystemAccess('org.w3.clearkey', [{}]); |
- }).then(function(access) { |
+ return navigator.requestMediaKeySystemAccess('org.w3.clearkey', getSimpleConfiguration()).then(function(access) { |
return access.createMediaKeys(); |
}).then(function(mediaKeys) { |
return mediaKeys; |