| 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 76caf441f18cd328bf585589e73a3d82f28046e3..8aaea2ecfd71df35f2e52f25da17915b4c22fb97 100644
|
| --- a/chrome/browser/resources/md_history/history_list.js
|
| +++ b/chrome/browser/resources/md_history/history_list.js
|
| @@ -46,7 +46,7 @@ Polymer({
|
| * @private
|
| */
|
| closeMenu_: function() {
|
| - this.$.sharedMenu.closeMenu();
|
| + /** @type {CrSharedMenuElement} */(this.$.sharedMenu).closeMenu();
|
| },
|
|
|
| /**
|
| @@ -63,7 +63,8 @@ Polymer({
|
| * @private
|
| */
|
| toggleMenu_: function(e) {
|
| - this.$.sharedMenu.toggleMenu(e.detail.target);
|
| + var target = e.detail.target;
|
| + /** @type {CrSharedMenuElement} */(this.$.sharedMenu).toggleMenu(target);
|
| },
|
|
|
| /**
|
| @@ -86,9 +87,8 @@ Polymer({
|
| this.searchTerm = searchTerm;
|
| }
|
|
|
| - if (historyResults.length == 0) {
|
| + if (historyResults.length == 0)
|
| return;
|
| - }
|
|
|
| // Creates a copy of historyResults to prevent accidentally modifying this
|
| // field.
|
|
|