Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3022)

Unified Diff: chrome/browser/resources/md_history/history_toolbar.js

Issue 2057353002: WebUI: cr-search-field, do not call delegate if search query did not change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded check. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6045c62d8b9b9ff4a9f36fdf4a604e73a4d76b97..2e017fabd57a6c916661266ee42cd308b3f93709 100644
--- a/chrome/browser/resources/md_history/history_toolbar.js
+++ b/chrome/browser/resources/md_history/history_toolbar.js
@@ -97,11 +97,10 @@ Polymer({
},
/**
- * If the search term has changed reload for the new search.
+ * Update search term.
Dan Beam 2016/06/14 15:47:29 just remove, maybe?
dpapad 2016/06/14 17:21:50 Done.
*/
onSearch: function(searchTerm) {
- if (searchTerm != this.searchTerm)
- this.searchTerm = searchTerm;
+ this.searchTerm = searchTerm;
},
attached: function() {

Powered by Google App Engine
This is Rietveld 408576698