| Index: chrome/browser/resources/file_manager/foreground/js/directory_contents.js
|
| diff --git a/chrome/browser/resources/file_manager/foreground/js/directory_contents.js b/chrome/browser/resources/file_manager/foreground/js/directory_contents.js
|
| index 36e1a6ee919e3cf2a5a62407f78e5b95e887c34e..30e2ea6de2710048df2b33b2b640c15ac5b1d501 100644
|
| --- a/chrome/browser/resources/file_manager/foreground/js/directory_contents.js
|
| +++ b/chrome/browser/resources/file_manager/foreground/js/directory_contents.js
|
| @@ -58,9 +58,7 @@ DirectoryContentScanner.prototype.__proto__ = ContentScanner.prototype;
|
| */
|
| DirectoryContentScanner.prototype.scan = function(
|
| entriesCallback, successCallback, errorCallback) {
|
| - if (!this.entry_ ||
|
| - (util.isFakeEntry(this.entry_) &&
|
| - this.entry_.rootType === RootType.DRIVE)) {
|
| + if (!this.entry_ || util.isFakeEntry(this.entry_)) {
|
| // If entry is not specified or a fake, we cannot read it.
|
| errorCallback(util.createDOMError(
|
| util.FileError.INVALID_MODIFICATION_ERR));
|
|
|