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

Unified Diff: chrome/browser/resources/file_manager/js/file_grid.js

Issue 11817041: Fix thumbnail refresh for Drive images (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | chrome/browser/resources/file_manager/js/metadata/metadata_cache.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/file_grid.js
diff --git a/chrome/browser/resources/file_manager/js/file_grid.js b/chrome/browser/resources/file_manager/js/file_grid.js
index 639595f9bdcdcccc0f9f8f8d9a58f496c1ad2b8a..5e9f697d4c1dd8ef42c1bc63ea7304acfbb56c53 100644
--- a/chrome/browser/resources/file_manager/js/file_grid.js
+++ b/chrome/browser/resources/file_manager/js/file_grid.js
@@ -122,9 +122,8 @@ FileGrid.decorateThumbnailBox = function(
// is now stale. Request a refresh of the current directory, to get
// the new thumbnail URLs. Once the directory is refreshed, we'll get
// notified via onDirectoryChanged event.
- // TODO:
- var onImageLoadError = function(imageURL) {
- metadataCache.refreshFileMetadata(imageURL);
+ var onImageLoadError = function() {
+ metadataCache.refreshFileMetadata(imageUrl);
};
var metadataTypes = 'thumbnail|filesystem';
« no previous file with comments | « no previous file | chrome/browser/resources/file_manager/js/metadata/metadata_cache.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698