| Index: chrome/browser/resources/md_history/grouped_list.js
|
| diff --git a/chrome/browser/resources/md_history/grouped_list.js b/chrome/browser/resources/md_history/grouped_list.js
|
| index 062d6865bfc8a69ccebc73e096d5f67f360dc73d..d44a76eb0643eaaff38880d80ad56222e0c6ca98 100644
|
| --- a/chrome/browser/resources/md_history/grouped_list.js
|
| +++ b/chrome/browser/resources/md_history/grouped_list.js
|
| @@ -103,20 +103,20 @@ Polymer({
|
| var days = [];
|
| var currentDayVisits = [this.historyData[0]];
|
|
|
| - var pushCurrentDay = function() {
|
| + var pushCurrentDay = () => {
|
| days.push({
|
| title: this.searchedTerm ? currentDayVisits[0].dateShort :
|
| currentDayVisits[0].dateRelativeDay,
|
| domains: this.createHistoryDomains_(currentDayVisits),
|
| });
|
| - }.bind(this);
|
| + };
|
|
|
| - var visitsSameDay = function(a, b) {
|
| + var visitsSameDay = (a, b) => {
|
| if (this.searchedTerm)
|
| return a.dateShort == b.dateShort;
|
|
|
| return a.dateRelativeDay == b.dateRelativeDay;
|
| - }.bind(this);
|
| + };
|
|
|
| for (var i = 1; i < this.historyData.length; i++) {
|
| var visit = this.historyData[i];
|
|
|