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

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

Issue 450903002: Random clean up around Chrome OS file manager code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months 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.js
diff --git a/ui/file_manager/gallery/js/gallery.js b/ui/file_manager/gallery/js/gallery.js
index 67776d1fcafc7065cd35ccda171a4cdb3108ab07..570a9d7fab79e78baf93610713cd3d9ee0b8b0f5 100644
--- a/ui/file_manager/gallery/js/gallery.js
+++ b/ui/file_manager/gallery/js/gallery.js
@@ -168,7 +168,7 @@ GalleryDataModel.prototype.evictCache = function(currentSelectedItem) {
if (sorted[i].contentImage.parentNode) {
console.error('The content image has a parent node.');
} else {
- // Force to free the buffer of the canvas by assinng zero size.
+ // Force to free the buffer of the canvas by assigning zero size.
sorted[i].contentImage.width = 0;
sorted[i].contentImage.height = 0;
sorted[i].contentImage = null;
@@ -180,7 +180,7 @@ GalleryDataModel.prototype.evictCache = function(currentSelectedItem) {
if (sorted[i].screenImage.parentNode) {
console.error('The screen image has a parent node.');
} else {
- // Force to free the buffer of the canvas by assinng zero size.
+ // Force to free the buffer of the canvas by assigning zero size.
sorted[i].screenImage.width = 0;
sorted[i].screenImage.height = 0;
sorted[i].screenImage = null;
@@ -251,7 +251,7 @@ Gallery.FIRST_FADE_TIMEOUT = 1000;
/**
* Time until mosaic is initialized in the background. Used to make gallery
- * in the slide mode load faster. In miiliseconds.
+ * in the slide mode load faster. In milliseconds.
* @const
* @type {number}
*/
« no previous file with comments | « ui/file_manager/gallery/js/background.js ('k') | ui/file_manager/gallery/js/image_editor/image_transform.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698