| 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 821407c8ef4e6a7573800591e85f25f13fb26d89..ff3428378107d5b70569dd31a0dc58bea812452e 100644
|
| --- a/ui/file_manager/file_manager/common/js/util.js
|
| +++ b/ui/file_manager/file_manager/common/js/util.js
|
| @@ -767,7 +767,10 @@ util.getCurrentLocaleOrDefault = function() {
|
| */
|
| util.entriesToURLs = function(entries) {
|
| return entries.map(function(entry) {
|
| - return entry.toURL();
|
| + // When building background.js, cachedUrl is not refered other than here.
|
| + // Thus closure compiler raises an error if we refer the property like
|
| + // entry.cachedUrl.
|
| + return entry['cachedUrl'] || entry.toURL();
|
| });
|
| };
|
|
|
|
|