Skip to content

Commit

Permalink
Move Serializable annotation to the correct interface
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Mar 17, 2017
1 parent 45cbdb4 commit 424e6a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -60147,7 +60147,7 @@ interface <dfn>CanvasDrawImage</dfn> {
void <span data-x="dom-context-2d-drawImage">drawImage</span>(<span>CanvasImageSource</span> image, unrestricted double sx, unrestricted double sy, unrestricted double sw, unrestricted double sh, unrestricted double dx, unrestricted double dy, unrestricted double dw, unrestricted double dh);
};

[NoInterfaceObject, Exposed=(Window,Worker), <span>Serializable</span>]
[NoInterfaceObject, Exposed=(Window,Worker)]
interface <dfn>CanvasImageData</dfn> {
// <span>pixel manipulation</span>
<span>ImageData</span> <span data-x="dom-context-2d-createImageData">createImageData</span>(double sw, double sh);
Expand Down Expand Up @@ -60233,7 +60233,8 @@ interface <dfn>TextMetrics</dfn> {

[<span data-x="dom-imagedata">Constructor</span>(unsigned long sw, unsigned long sh),
<span data-x="dom-imagedata">Constructor</span>(<span data-x="idl-Uint8ClampedArray">Uint8ClampedArray</span> data, unsigned long sw, optional unsigned long sh),
Exposed=(Window,Worker)]
Exposed=(Window,Worker),
<span>Serializable</span>]
interface <dfn>ImageData</dfn> {
readonly attribute unsigned long <span data-x="dom-imagedata-width">width</span>;
readonly attribute unsigned long <span data-x="dom-imagedata-height">height</span>;
Expand Down

0 comments on commit 424e6a3

Please sign in to comment.