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

Unified Diff: ui/webui/resources/js/cr/ui/autocomplete_list.js

Issue 517413002: Compile chrome://settings, part 1: remove all warnings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@true_master
Patch Set: s/event/Event/ Created 6 years, 3 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: ui/webui/resources/js/cr/ui/autocomplete_list.js
diff --git a/ui/webui/resources/js/cr/ui/autocomplete_list.js b/ui/webui/resources/js/cr/ui/autocomplete_list.js
index 378e7c6830d2ff20989695f76528433c5efe9703..5d690eff2fadafa2855fb340db5f6e71701c30e1 100644
--- a/ui/webui/resources/js/cr/ui/autocomplete_list.js
+++ b/ui/webui/resources/js/cr/ui/autocomplete_list.js
@@ -142,9 +142,9 @@ cr.define('cr.ui', function() {
* Handles the selected suggestion. Called when a suggestion is selected.
* By default, sets the target input element's value to the 'url' field
* of the selected suggestion.
- * @param {Event} event The change event.
+ * @param {Object} selectedSuggestion
*/
- handleSelectedSuggestion : function(selectedSuggestion) {
+ handleSelectedSuggestion: function(selectedSuggestion) {
var input = this.targetInput_;
if (!input)
return;
« no previous file with comments | « chrome/browser/resources/options/website_settings.js ('k') | ui/webui/resources/js/cr/ui/list_single_selection_model.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698