summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl b/chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl
index aefb0b0c714..36438bdc6cf 100644
--- a/chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl
+++ b/chromium/third_party/blink/renderer/modules/webcodecs/video_frame.idl
@@ -11,6 +11,9 @@
void release();
+ [CallWith=ScriptState, RaisesException] Promise<ImageBitmap> createImageBitmap(
+ optional ImageBitmapOptions options = {});
+
readonly attribute unsigned long long timestamp; // microseconds
readonly attribute unsigned long long? duration; // microseconds