| Index: chrome/browser/resources/md_history/history_list.js
|
| diff --git a/chrome/browser/resources/md_history/history_list.js b/chrome/browser/resources/md_history/history_list.js
|
| index 68f626d159a7467eb5014116d5f6882ed250641d..58a3cfe03bfe3da9ba7c3e3c90d9833d5e7539c0 100644
|
| --- a/chrome/browser/resources/md_history/history_list.js
|
| +++ b/chrome/browser/resources/md_history/history_list.js
|
| @@ -32,6 +32,14 @@ Polymer({
|
| 'remove-bookmark-stars': 'removeBookmarkStars_',
|
| },
|
|
|
| + /** @override */
|
| + attached: function() {
|
| + // It is possible (eg, when middle clicking the reload button) for all other
|
| + // resize events to fire before the list is attached and can be measured.
|
| + // Adding another resize here ensures it will get sized correctly.
|
| + /** @type {IronListElement} */(this.$['infinite-list']).notifyResize();
|
| + },
|
| +
|
| /**
|
| * Closes the overflow menu.
|
| * @private
|
|
|