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

Unified Diff: ui/file_manager/file_manager/background/js/volume_manager.js

Issue 942193002: Files.app: fix some closure compilation issues to unblock new compiler roll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: ui/file_manager/file_manager/background/js/volume_manager.js
diff --git a/ui/file_manager/file_manager/background/js/volume_manager.js b/ui/file_manager/file_manager/background/js/volume_manager.js
index 3e31aaa04d4a38bca319001a154a6062aa3f3c97..d7a0d5e39c7593ba9ef4bb08a0ef129230b6661e 100644
--- a/ui/file_manager/file_manager/background/js/volume_manager.js
+++ b/ui/file_manager/file_manager/background/js/volume_manager.js
@@ -687,7 +687,7 @@ VolumeManager.prototype.onMountCompleted_ = function(event) {
case 'mount':
var requestKey = this.makeRequestKey_(
'mount',
- event.volumeMetadata.sourcePath);
+ event.volumeMetadata.sourcePath || '');
Dan Beam 2015/02/20 23:06:21 is actually optional: https://code.google.com/p/ch
if (event.status === 'success' ||
event.status ===

Powered by Google App Engine
This is Rietveld 408576698