Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: chrome/browser/resources/file_manager/foreground/js/drive_banners.js

Issue 218623020: Files.app: fix a bug that low-space warning is not shown at all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 86edb130d5208e09d9a288991ab95f5f313bf89b..3bb3b543d5d2a200fa62be4cab5461589398aef4 100644
--- a/chrome/browser/resources/file_manager/foreground/js/drive_banners.js
+++ b/chrome/browser/resources/file_manager/foreground/js/drive_banners.js
@@ -521,7 +521,7 @@ FileListBannerController.prototype.maybeShowLowSpaceWarning_ = function(
return;
chrome.fileBrowserPrivate.getSizeStats(
- volume.fileSystem.root.toURL(),
+ volume.volumeId,
function(sizeStats) {
var currentVolume = this.volumeManager_.getVolumeInfo(
this.directoryModel_.getCurrentDirEntry());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698