diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/canvas/image_data.idl')
-rw-r--r-- | chromium/third_party/blink/renderer/core/html/canvas/image_data.idl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/canvas/image_data.idl b/chromium/third_party/blink/renderer/core/html/canvas/image_data.idl index ef22e2ed195..03bf6e3c253 100644 --- a/chromium/third_party/blink/renderer/core/html/canvas/image_data.idl +++ b/chromium/third_party/blink/renderer/core/html/canvas/image_data.idl @@ -27,7 +27,7 @@ */ // https://html.spec.whatwg.org/#dom-imagedata -// https://github.com/junov/CanvasColorSpace/blob/master/CanvasColorSpaceProposal.md#imagedata +// https://github.com/WICG/canvas-color-space/blob/master/CanvasColorSpaceProposal.md#imagedata typedef (Uint8ClampedArray or Uint16Array or Float32Array) ImageDataArray; @@ -35,7 +35,8 @@ typedef (Uint8ClampedArray or Uint16Array or Float32Array) ImageDataArray; Constructor(unsigned long sw, unsigned long sh), Constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh), Exposed=(Window,Worker), - RaisesException=Constructor + RaisesException=Constructor, + Serializable ] interface ImageData { [RuntimeEnabled=CanvasColorManagement] ImageDataColorSettings getColorSettings(); |