| 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 db33f9c35c373c290bca4255ca8c7b9305faab38..744c35f0f4f0673e13ab96fe4150009f36ca9a67 100644
|
| --- a/chrome/browser/resources/md_history/history_toolbar.js
|
| +++ b/chrome/browser/resources/md_history/history_toolbar.js
|
| @@ -68,9 +68,9 @@ Polymer({
|
| if (this.searchTerm == search)
|
| return;
|
| this.searchTerm = search;
|
| - var searchField = /** @type {SearchField} */(this.$['search-input']);
|
| - searchField.showAndFocus().then(function(showing) {
|
| - if (showing) searchField.setValue(search);
|
| + var toolbar = /** @type {CrToolbarElement} */(this.$['main-toolbar']);
|
| + toolbar.showAndFocus().then(function(showing) {
|
| + if (showing) toolbar.setValue(search);
|
| });
|
| },
|
|
|
| @@ -86,7 +86,7 @@ Polymer({
|
|
|
| attached: function() {
|
| this.searchFieldDelegate_ = new ToolbarSearchFieldDelegate(this);
|
| - /** @type {SearchField} */(this.$['search-input'])
|
| + /** @type {CrToolbarElement} */(this.$['main-toolbar'])
|
| .setDelegate(this.searchFieldDelegate_);
|
| },
|
|
|
|
|