| Index: ui/file_manager/file_manager/foreground/js/navigation_list_model.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/navigation_list_model.js b/ui/file_manager/file_manager/foreground/js/navigation_list_model.js
|
| index 33c68809f005c030fcc9c10f2449b71a82d0c0d2..62b031d9ea59072f4c3f314794dd95d6699703d0 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/navigation_list_model.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/navigation_list_model.js
|
| @@ -82,7 +82,8 @@ NavigationModelVolumeItem.prototype = {
|
| /**
|
| * A navigation list model. This model combines the 2 lists.
|
| * @param {VolumeManagerWrapper} volumeManager VolumeManagerWrapper instance.
|
| - * @param {cr.ui.ArrayDataModel} shortcutListModel The list of folder shortcut.
|
| + * @param {(cr.ui.ArrayDataModel|FolderShortcutsDataModel)} shortcutListModel
|
| + * The list of folder shortcut.
|
| * @constructor
|
| * @extends {cr.EventTarget}
|
| */
|
| @@ -122,7 +123,7 @@ function NavigationListModel(volumeManager, shortcutListModel) {
|
|
|
| this.shortcutList_ = [];
|
| for (var i = 0; i < this.shortcutListModel_.length; i++) {
|
| - var shortcutEntry = this.shortcutListModel_.item(i);
|
| + var shortcutEntry = /** @type {Entry} */ (this.shortcutListModel_.item(i));
|
| var volumeInfo = this.volumeManager_.getVolumeInfo(shortcutEntry);
|
| this.shortcutList_.push(entryToModelItem(shortcutEntry));
|
| }
|
|
|