| Index: chrome/browser/resources/file_manager/common/js/util.js
|
| diff --git a/chrome/browser/resources/file_manager/common/js/util.js b/chrome/browser/resources/file_manager/common/js/util.js
|
| index 0230c7856d52cd7996685ff842dd9bd386700a2c..eafc334ff3622ddfa24c60ff1877f49fb1e12f01 100644
|
| --- a/chrome/browser/resources/file_manager/common/js/util.js
|
| +++ b/chrome/browser/resources/file_manager/common/js/util.js
|
| @@ -1106,11 +1106,14 @@ util.createFileError = function(code) {
|
| util.isSameEntry = function(entry1, entry2) {
|
| // Currently, we can assume there is only one root.
|
| // When we support multi-file system, we need to look at filesystem, too.
|
| - return (entry1 && entry2 && entry1.fullPath === entry2.fullPath) ||
|
| + return (entry1 && entry2 && entry1.toURL() === entry2.toURL()) ||
|
| (!entry1 && !entry2);
|
| };
|
|
|
| /**
|
| + * TODO(mtomasz, yoshiki): Deprecated. Only used in directory_tree.js. Will
|
| + * be removed soon.
|
| + *
|
| * @param {Entry|Object} parent The parent entry. Can be a fake.
|
| * @param {Entry|Object} child The child entry. Can be a fake.
|
| * @return {boolean} True if parent entry is actualy the parent of the child
|
|
|