Index: ui/file_manager/file_manager/background/js/media_import_handler.js |
diff --git a/ui/file_manager/file_manager/background/js/media_import_handler.js b/ui/file_manager/file_manager/background/js/media_import_handler.js |
index 683074f0912529a4e9f76f3b0f24cccfe696166c..055c5f3355162fdc7013358400ce0dfb3d5117c8 100644 |
--- a/ui/file_manager/file_manager/background/js/media_import_handler.js |
+++ b/ui/file_manager/file_manager/background/js/media_import_handler.js |
@@ -400,7 +400,7 @@ importer.MediaImportHandler.ImportTask.prototype.copy_ = |
*/ |
var onComplete = function(destinationEntry) { |
this.cancelCallback_ = null; |
- this.markAsCopied_(entry, destinationEntry); |
+ this.markAsCopied_(entry, /** @type {!FileEntry} */ (destinationEntry)); |
this.notify(importer.TaskQueue.UpdateType.PROGRESS); |
resolver.resolve(destinationEntry); |
}; |