| Index: chrome/browser/resources/md_history/app.js
|
| diff --git a/chrome/browser/resources/md_history/app.js b/chrome/browser/resources/md_history/app.js
|
| index c9a41b995f83e9280ce30cd22621e6bd7d05473c..66b7e32c0d7f55990d99aa730c137dca3bf0c8e8 100644
|
| --- a/chrome/browser/resources/md_history/app.js
|
| +++ b/chrome/browser/resources/md_history/app.js
|
| @@ -107,7 +107,8 @@ Polymer({
|
| */
|
| checkboxSelected: function(e) {
|
| var toolbar = /** @type {HistoryToolbarElement} */ (this.$.toolbar);
|
| - toolbar.count += e.detail.countAddition;
|
| + toolbar.count = /** @type {HistoryListContainerElement} */ (this.$.history)
|
| + .getSelectedItemCount();
|
| },
|
|
|
| /**
|
| @@ -117,7 +118,7 @@ Polymer({
|
| */
|
| unselectAll: function() {
|
| var listContainer =
|
| - /** @type {HistoryListContainerElement} */ (this.$['history']);
|
| + /** @type {HistoryListContainerElement} */ (this.$.history);
|
| var toolbar = /** @type {HistoryToolbarElement} */ (this.$.toolbar);
|
| listContainer.unselectAllItems(toolbar.count);
|
| toolbar.count = 0;
|
|
|