| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // https://html.spec.whatwg.org/#images | 5 // https://html.spec.whatwg.org/#images |
| 6 | 6 |
| 7 [ | 7 [ |
| 8 // TODO(philipj): Exposed=(Window,Worker) | 8 Exposed=(Window,Worker), |
| 9 WillBeGarbageCollected, | 9 WillBeGarbageCollected, |
| 10 ] interface ImageBitmap { | 10 ] interface ImageBitmap { |
| 11 // TODO(philipj): width/height should be unsigned long. | 11 readonly attribute unsigned long width; |
| 12 readonly attribute long width; | 12 readonly attribute unsigned long height; |
| 13 readonly attribute long height; | 13 [RuntimeEnabled=ExperimentalCanvasFeatures] void close(); |
| 14 }; | 14 }; |
| OLD | NEW |