Chromium Code Reviews| Index: ui/file_manager/gallery/js/gallery_item.js |
| diff --git a/ui/file_manager/gallery/js/gallery_item.js b/ui/file_manager/gallery/js/gallery_item.js |
| index 10f1c24c6a49dc2ee4d1d8aaf64f350e2d7f7751..328b12e5b98d3137afb39f9c806637c827753c7d 100644 |
| --- a/ui/file_manager/gallery/js/gallery_item.js |
| +++ b/ui/file_manager/gallery/js/gallery_item.js |
| @@ -46,7 +46,7 @@ Gallery.Item = function( |
| * The content cache is used for prefetching the next image when going through |
| * the images sequentially. The real life photos can be large (18Mpix = 72Mb |
| * pixel array) so we want only the minimum amount of caching. |
| - * @type {HTMLCanvasElement} |
| + * @type {(HTMLCanvasElement|Image)} |
|
fukino
2014/12/10 02:54:19
You can use HTMLImageElement instead of Image.
Cou
yawano
2014/12/10 06:02:49
Done.
|
| */ |
| this.contentImage = null; |