| Index: Source/core/html/ImageData.idl
|
| diff --git a/Source/core/html/ImageData.idl b/Source/core/html/ImageData.idl
|
| index f267826017fc5f2d12c14fa5493eea80c308dd71..f6274b416126382b2f030157546c163041cc7087 100644
|
| --- a/Source/core/html/ImageData.idl
|
| +++ b/Source/core/html/ImageData.idl
|
| @@ -26,16 +26,19 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata
|
| +// https://html.spec.whatwg.org/#dom-imagedata
|
|
|
| [
|
| TypeChecking=Interface,
|
| - Constructor(unsigned long width, unsigned long height),
|
| - Constructor(Uint8ClampedArray data, unsigned long width, optional unsigned long height),
|
| + Constructor(unsigned long sw, unsigned long sh),
|
| + Constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh),
|
| Exposed=(Window,Worker),
|
| RaisesException=Constructor,
|
| GarbageCollected,
|
| ] interface ImageData {
|
| + // TODO(philipj): width/height should be unsigned long.
|
| readonly attribute long width;
|
| readonly attribute long height;
|
| + // TODO(philipj): Expose data.
|
| + // readonly attribute Uint8ClampedArray data;
|
| };
|
|
|