Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: ui/file_manager/gallery/js/gallery_item.js

Issue 792733002: Add type annotations to gallery/js/image_editor/image_view.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698