| Index: ui/file_manager/file_manager/foreground/js/ui/file_grid.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
|
| index 005a54b994d9b48b7414e7de364cea3b4e4d86b1..80f60ffa9b90336161c96628e3032bb387bfeaa1 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
|
| @@ -32,7 +32,7 @@ FileGrid.prototype.__proto__ = cr.ui.Grid.prototype;
|
|
|
| /**
|
| * Decorates an HTML element to be a FileGrid.
|
| - * @param {HTMLElement} self The grid to decorate.
|
| + * @param {!Element} self The grid to decorate.
|
| * @param {MetadataCache} metadataCache Metadata cache to find entries
|
| * metadata.
|
| * @param {VolumeManagerWrapper} volumeManager Volume manager instance.
|
| @@ -227,6 +227,7 @@ Object.defineProperty(FileGrid.Item.prototype, 'label', {
|
| */
|
| FileGrid.Item.decorate = function(li, entry, grid) {
|
| li.__proto__ = FileGrid.Item.prototype;
|
| + li = /** @type {!FileGrid.Item} */ (li);
|
| // TODO(mtomasz): Pass the metadata cache and the volume manager directly
|
| // instead of accessing private members of grid.
|
| FileGrid.decorateThumbnail(
|
|
|