Index: core/html/ImageData.idl |
diff --git a/core/html/ImageData.idl b/core/html/ImageData.idl |
index 44f6977b65333800da7c0e26e96e8a208b2439f4..152a63d2f8bc5f51dac26acb962c8248e52c0f15 100644 |
--- a/core/html/ImageData.idl |
+++ b/core/html/ImageData.idl |
@@ -29,16 +29,14 @@ |
// https://html.spec.whatwg.org/#dom-imagedata |
[ |
- TypeChecking=Interface, |
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; |
+ readonly attribute unsigned long width; |
+ readonly attribute unsigned long height; |
// TODO(philipj): Expose data. |
// FIXMEDART: Uncomment - we need this property. |
readonly attribute Uint8ClampedArray data; |