Index: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-session-closed-event.html |
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-session-closed-event.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-session-closed-event.html |
index e974ccfacae7cb76191138231d6ee78298fb0711..18b4b704822376b3c20fa2dea905e0a750440ba4 100644 |
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-session-closed-event.html |
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-session-closed-event.html |
@@ -17,7 +17,7 @@ |
getSupportedInitDataType().then(function(type) { |
initDataType = type; |
initData = getInitData(initDataType); |
- return navigator.requestMediaKeySystemAccess('org.w3.clearkey', [{}]); |
+ return requestClearKeySystemAccessForInitType(initDataType); |
}).then(function(access) { |
return access.createMediaKeys(); |
}).then(function(mediaKeys) { |