| Index: chrome/browser/resources/file_manager/foreground/js/drive_banners.js
|
| diff --git a/chrome/browser/resources/file_manager/foreground/js/drive_banners.js b/chrome/browser/resources/file_manager/foreground/js/drive_banners.js
|
| index 2e2b3cecc7d6b2c2185e6e1af951f8e28b484302..0993e9f187c39b144f3e1ec267ae01ce7070eb37 100644
|
| --- a/chrome/browser/resources/file_manager/foreground/js/drive_banners.js
|
| +++ b/chrome/browser/resources/file_manager/foreground/js/drive_banners.js
|
| @@ -514,8 +514,12 @@ FileListBannerController.prototype.maybeShowLowSpaceWarning_ = function(
|
| return;
|
| }
|
|
|
| + // If not mounted correctly, then do not continue.
|
| + if (!volume.root)
|
| + return;
|
| +
|
| chrome.fileBrowserPrivate.getSizeStats(
|
| - volume.getDisplayRootDirectoryURL(),
|
| + volume.root.toURL(),
|
| function(sizeStats) {
|
| var currentVolume = this.volumeManager_.getVolumeInfo(
|
| this.directoryModel_.getCurrentDirEntry());
|
|
|