Index: chrome/browser/resources/print_preview/search/destination_search.js |
diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js |
index b2f8b0558215097bc5eb4fbfc47279cd4bc724fc..1d54473586aed1e2c199f320bbc6520465d5a59e 100644 |
--- a/chrome/browser/resources/print_preview/search/destination_search.js |
+++ b/chrome/browser/resources/print_preview/search/destination_search.js |
@@ -264,7 +264,7 @@ cr.define('print_preview', function() { |
/** |
* Filters all destination lists with the given query. |
- * @param {?string} query Query to filter destination lists by. |
+ * @param {RegExp} query Query to filter destination lists by. |
* @private |
*/ |
filterLists_: function(query) { |
@@ -450,7 +450,7 @@ cr.define('print_preview', function() { |
* @private |
*/ |
onSearch_: function(evt) { |
- this.filterLists_(evt.query); |
+ this.filterLists_(evt.queryRegExp); |
}, |
/** |