Index: ui/file_manager/file_manager/foreground/js/import_controller.js |
diff --git a/ui/file_manager/file_manager/foreground/js/import_controller.js b/ui/file_manager/file_manager/foreground/js/import_controller.js |
index 8c3be8059ee25dd12c7eac2e2b972ad84d4b0c15..4f7170b85b51fa4771d874bc438a2e9f9db877c2 100644 |
--- a/ui/file_manager/file_manager/foreground/js/import_controller.js |
+++ b/ui/file_manager/file_manager/foreground/js/import_controller.js |
@@ -103,14 +103,6 @@ importer.ImportController.prototype.execute = function() { |
metrics.recordEnum('CloudImport.UserAction', 'IMPORT_INITIATED'); |
var result = this.getScanForImport_(); |
var importTask = this.importRunner_.importFromScanResult(result); |
- |
- importTask.getDestination().then( |
- /** |
- * @param {!DirectoryEntry} destination |
- */ |
- function(destination) { |
- this.environment_.setCurrentDirectory(destination); |
- }.bind(this)); |
}; |
/** |