| 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..954ba905e1e22280fca36cc78c5fead9c1e74a9b 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 requestClearKeySystemAccessForInitType(initDataType);
|
| }).then(function(access) {
|
| return access.createMediaKeys();
|
| }).then(function(mediaKeys) {
|
|
|