summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/resources/ntp_search/tile_page.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/ntp_search/tile_page.js b/chrome/browser/resources/ntp_search/tile_page.js
index 02a84f6..00af6cd 100644
--- a/chrome/browser/resources/ntp_search/tile_page.js
+++ b/chrome/browser/resources/ntp_search/tile_page.js
@@ -586,7 +586,7 @@ cr.define('ntp', function() {
} else if (tileCount > dataListLength) {
var tiles = this.tiles_;
while (tiles.length > dataListLength) {
- var previousLength = this.length;
+ var previousLength = tiles.length;
// It doesn't matter which tiles are being removed here because
// they're going to be reconstructed below when calling updateTiles_
// method, so the first tiles are being removed here.