Commit 1496dcfa authored by Rafael Weinstein's avatar Rafael Weinstein

Fix bad reference in city-list

TBR=esprehn
BUG=

Review URL: https://codereview.chromium.org/730283002
parent fd1e8ff5
...@@ -479,7 +479,7 @@ SkyElement({ ...@@ -479,7 +479,7 @@ SkyElement({
this.drawTop -= height; this.drawTop -= height;
var tile = targetBottom < this.drawTop ? var tile = targetBottom < this.drawTop ?
new Tile(datum, null, viewType, -1) : // off-screen new Tile(datum, null, datum.viewType, -1) : // off-screen
this.checkoutTile(type, datum, this.drawTop); this.checkoutTile(type, datum, this.drawTop);
this.firstItem--; this.firstItem--;
...@@ -497,7 +497,7 @@ SkyElement({ ...@@ -497,7 +497,7 @@ SkyElement({
this.drawBottom += height; this.drawBottom += height;
var tile = targetTop > this.drawBottom ? var tile = targetTop > this.drawBottom ?
new Tile(datum, null, viewType, -1) : // off-screen new Tile(datum, null, datum.viewType, -1) : // off-screen
this.checkoutTile(type, datum, this.drawBottom - height); this.checkoutTile(type, datum, this.drawBottom - height);
tiles.push(tile); tiles.push(tile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment