Index: ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js |
diff --git a/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js b/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js |
index 79e19e2c57a82e6f328afdeabfda9ab75f8cc2c7..e64307d57e1f97fd45a21193e988078cc2c0f988 100644 |
--- a/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js |
+++ b/ui/file_manager/file_manager/foreground/js/metadata/metadata_cache.js |
@@ -259,13 +259,14 @@ MetadataCache.prototype.getInternal_ = |
/** |
* Fetches the metadata for one Entry. See comments to |get|. |
+ * If required metadata is already in the cache, does not fetch it again. |
* |
* @param {Entry} entry The entry. |
* @param {string} type Metadata type. |
* @param {function(Object)} callback The metadata is passed to callback. |
* The callback is called asynchronously. |
*/ |
-MetadataCache.prototype.getOne = function(entry, type, callback, refresh) { |
+MetadataCache.prototype.getOne = function(entry, type, callback) { |
this.getOneInternal_(entry, type, false, callback); |
}; |