Chromium Code Reviews| Index: chrome/browser/resources/md_history/history_toolbar.js |
| diff --git a/chrome/browser/resources/md_history/history_toolbar.js b/chrome/browser/resources/md_history/history_toolbar.js |
| index 53c8438f21b8fed1927753a87f613930f2921bde..2ecf3e86b06ee2535db6be020917b373d883c765 100644 |
| --- a/chrome/browser/resources/md_history/history_toolbar.js |
| +++ b/chrome/browser/resources/md_history/history_toolbar.js |
| @@ -143,6 +143,9 @@ Polymer({ |
| /** @private */ |
| getHistoryInterval_: function() { |
| var info = this.queryInfo; |
| + if (!info) |
| + return; |
|
calamity
2017/01/27 03:47:34
When can this happen?
tsergeant
2017/01/30 02:13:14
It gets called when queryResult.info is set to nul
|
| + |
| if (this.groupedRange == HistoryRange.WEEK) |
| return info.queryInterval; |