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

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

Issue 1020003004: Files.app: Fix a jscompiler error. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: 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 9c54e23cc3857fabb16bf358aea5b917d3498271..7afc737db45d61aa7fbf88ebcabc2409eb1135f8 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
@@ -160,8 +160,9 @@ importer.MediaImportHandler.prototype.onFileImported_ =
}
// Update info must exist for ENTRY_CHANGED notifications.
console.assert(updateInfo && updateInfo.destination);
- /** @type {!importer.MediaImportHandler.ImportTask.EntryChangedInfo} */
- var info = updateInfo;
+ var info =
+ /** @type {!importer.MediaImportHandler.ImportTask.EntryChangedInfo} */ (
+ updateInfo);
// Tag the import with a private drive property.
chrome.fileManagerPrivate.setEntryTag(
« 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