Index: ui/file_manager/gallery/js/mosaic_mode.js |
diff --git a/ui/file_manager/gallery/js/mosaic_mode.js b/ui/file_manager/gallery/js/mosaic_mode.js |
index 6c8dfe97cd1f47b1384981cf0b8c67f530264e04..f27803bd8b76fc0a7c9e9855b4caf3ce59668b12 100644 |
--- a/ui/file_manager/gallery/js/mosaic_mode.js |
+++ b/ui/file_manager/gallery/js/mosaic_mode.js |
@@ -1707,7 +1707,7 @@ Mosaic.Tile.SMALL_IMAGE_SIZE = 160; |
/** |
* @return {Gallery.Item} The Gallery item. |
*/ |
-Mosaic.Tile.prototype.getItem = function() { return this.item_ }; |
+Mosaic.Tile.prototype.getItem = function() { return this.item_; }; |
/** |
* @return {number} Maximum content height that this tile can have. |
@@ -1719,7 +1719,7 @@ Mosaic.Tile.prototype.getMaxContentHeight = function() { |
/** |
* @return {number} The aspect ratio of the tile image. |
*/ |
-Mosaic.Tile.prototype.getAspectRatio = function() { return this.aspectRatio_ }; |
+Mosaic.Tile.prototype.getAspectRatio = function() { return this.aspectRatio_; }; |
/** |
* @return {boolean} True if the tile is initialized. |
@@ -1982,7 +1982,7 @@ Mosaic.Tile.prototype.layout = function(left, top, width, height) { |
if (this.imageLoaded_) { |
this.thumbnailLoader_.attachImage(this.wrapper_, |
- ThumbnailLoader.FillMode.FILL); |
+ ThumbnailLoader.FillMode.OVER_FILL); |
} |
}; |