| Index: chrome/browser/resources/ntp4/tile_page.js
|
| diff --git a/chrome/browser/resources/ntp4/tile_page.js b/chrome/browser/resources/ntp4/tile_page.js
|
| index 32510a501469a9119f74664cbe5855f65c337975..ffaa5db3c67bb801cfadac0845f80f7ea7f60a7a 100644
|
| --- a/chrome/browser/resources/ntp4/tile_page.js
|
| +++ b/chrome/browser/resources/ntp4/tile_page.js
|
| @@ -125,7 +125,7 @@ cr.define('ntp4', function() {
|
|
|
| this.classList.add('dragging');
|
| // offsetLeft is mirrored in RTL. Un-mirror it.
|
| - var offsetLeft = ntp4.isRTL() ?
|
| + var offsetLeft = isRTL() ?
|
| this.parentNode.clientWidth - this.offsetLeft :
|
| this.offsetLeft;
|
| this.dragOffsetX = e.x - offsetLeft - this.parentNode.offsetLeft;
|
| @@ -232,7 +232,7 @@ cr.define('ntp4', function() {
|
| this.appendChild(clone);
|
| this.doppleganger_ = clone;
|
|
|
| - if (ntp4.isRTL())
|
| + if (isRTL())
|
| x *= -1;
|
|
|
| this.doppleganger_.style.WebkitTransform = 'translate(' + x + 'px, ' +
|
| @@ -828,7 +828,7 @@ cr.define('ntp4', function() {
|
| if (col < 0 || col >= layout.numRowTiles)
|
| return -1;
|
|
|
| - if (ntp4.isRTL())
|
| + if (isRTL())
|
| col = layout.numRowTiles - 1 - col;
|
|
|
| var row = Math.floor((y - gridClientRect.top) / layout.rowHeight);
|
|
|