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

Unified Diff: ui/file_manager/file_manager/common/js/util.js

Issue 420743002: Gallery: Store image caches in Gallery items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 6 years, 5 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
« no previous file with comments | « no previous file | ui/file_manager/gallery/js/gallery.js » ('j') | ui/file_manager/gallery/js/gallery.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/common/js/util.js
diff --git a/ui/file_manager/file_manager/common/js/util.js b/ui/file_manager/file_manager/common/js/util.js
index 6a5f8d7f18cd9dc0ff4d95f6c34e2642fd672329..acdbf159b7ad68129ff2dff5eb1d2b53607cafd7 100644
--- a/ui/file_manager/file_manager/common/js/util.js
+++ b/ui/file_manager/file_manager/common/js/util.js
@@ -834,7 +834,7 @@ util.AppCache.cleanup_ = function(map) {
if (map.hasOwnProperty(key))
keys.push(key);
}
- keys.sort(function(a, b) { return map[a].expire > map[b].expire });
+ keys.sort(function(a, b) { return map[a].expire > map[b].expire; });
var cutoff = Date.now();
« no previous file with comments | « no previous file | ui/file_manager/gallery/js/gallery.js » ('j') | ui/file_manager/gallery/js/gallery.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698