Chromium Code Reviews| Index: Source/modules/encryptedmedia/MediaKeys.idl |
| diff --git a/Source/modules/encryptedmedia/MediaKeys.idl b/Source/modules/encryptedmedia/MediaKeys.idl |
| index 93e6168bc6a806cdbde9edeea84d46334acc8baa..1f749bba7d89ac197e0f2f2e5955e36febb2510a 100644 |
| --- a/Source/modules/encryptedmedia/MediaKeys.idl |
| +++ b/Source/modules/encryptedmedia/MediaKeys.idl |
| @@ -36,7 +36,7 @@ enum SessionType { |
| readonly attribute DOMString keySystem; |
| [CallWith=ScriptState] static Promise create(DOMString keySystem); |
| - [CallWith=ScriptState] Promise createSession(DOMString initDataType, Uint8Array initData, optional SessionType sessionType = "temporary"); |
| + [CallWith=ScriptState] Promise createSession(DOMString initDataType, ArrayBufferView initData, optional SessionType sessionType = "temporary"); |
|
ddorwin
2014/07/16 22:34:58
We need to accept both.
jrummell
2014/07/18 21:56:00
Done.
|
| static boolean isTypeSupported(DOMString keySystem, optional DOMString contentType = null); |
| }; |