Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: Source/modules/encryptedmedia/MediaKeySession.idl

Issue 397463005: Change EME WebIDL to use ArrayBuffer/ArrayBufferView. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/encryptedmedia/MediaKeySession.idl
diff --git a/Source/modules/encryptedmedia/MediaKeySession.idl b/Source/modules/encryptedmedia/MediaKeySession.idl
index 7eb27a6ad6952cad6dd12029659609c102393cc4..d706bd48a1bb781b740673d68bd21382285022dd 100644
--- a/Source/modules/encryptedmedia/MediaKeySession.idl
+++ b/Source/modules/encryptedmedia/MediaKeySession.idl
@@ -37,6 +37,7 @@
readonly attribute DOMString sessionId;
// session operations
- [CallWith=ScriptState] Promise update(Uint8Array response);
+ [CallWith=ScriptState] Promise update(ArrayBuffer response);
+ [CallWith=ScriptState] Promise update(ArrayBufferView response);
[CallWith=ScriptState] Promise release();
};

Powered by Google App Engine
This is Rietveld 408576698