Index: core/frame/ImageBitmap.idl |
diff --git a/core/frame/ImageBitmap.idl b/core/frame/ImageBitmap.idl |
index 5cb21c8d1cf325c5bd6ee870a6792e1673fd8d88..b47435f59fdc76acf027f214dd12b2b73073ee2c 100644 |
--- a/core/frame/ImageBitmap.idl |
+++ b/core/frame/ImageBitmap.idl |
@@ -5,10 +5,10 @@ |
// https://html.spec.whatwg.org/#images |
[ |
- // TODO(philipj): Exposed=(Window,Worker) |
+ Exposed=(Window,Worker), |
WillBeGarbageCollected, |
] interface ImageBitmap { |
- // 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; |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] void close(); |
}; |