| Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
|
| diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
|
| index da364ef1b38804a92051f52f82aa3fb050c90ca3..a644045f6d6ac75550bc20e3780f56cbc9045ccd 100644
|
| --- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
|
| +++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl
|
| @@ -25,8 +25,17 @@
|
|
|
| // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#canvasrenderingcontext2d
|
|
|
| +// The spec specifies:
|
| +// typedef (HTMLImageElement or
|
| +// SVGImageElement) HTMLOrSVGImageElement;
|
| +// but there's a problem with our IDL code generator for typedef-in-typedef,
|
| +// so we split this into two for simplicity. There's no difference from a user
|
| +// perspective.
|
| +// TODO(fserb): revisit this once union typedefs are finalized.
|
| +
|
| typedef (CSSImageValue or
|
| HTMLImageElement or
|
| + SVGImageElement or
|
| HTMLVideoElement or
|
| HTMLCanvasElement or
|
| ImageBitmap or
|
|
|