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

Unified Diff: chrome/browser/resources/options/search_engine_manager_engine_list.js

Issue 543493002: Compile chrome://settings, part 2: reduce from 950 to 400 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@F_settings
Patch Set: rebase? rebase! 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: chrome/browser/resources/options/search_engine_manager_engine_list.js
diff --git a/chrome/browser/resources/options/search_engine_manager_engine_list.js b/chrome/browser/resources/options/search_engine_manager_engine_list.js
index d81258eedcd3ccf8286cdb91914af57aaa00ce7f..04a6eeee90278ba6c759f200004aec3a24b2ee4b 100644
--- a/chrome/browser/resources/options/search_engine_manager_engine_list.js
+++ b/chrome/browser/resources/options/search_engine_manager_engine_list.js
@@ -180,7 +180,7 @@ cr.define('options.search_engines', function() {
} else {
this.editable = false;
this.querySelector('.row-delete-button').hidden = true;
- var indicator = ControlledSettingIndicator();
+ var indicator = new ControlledSettingIndicator();
indicator.setAttribute('setting', 'search-engine');
// Create a synthetic pref change event decorated as
// CoreOptionsHandler::CreateValueForPref() does.
@@ -248,7 +248,7 @@ cr.define('options.search_engines', function() {
* Returns the input field values as an array suitable for passing to
* chrome.send. The order of the array is important.
* @private
- * @return {array} The current input field values.
+ * @return {Array} The current input field values.
*/
getInputFieldValues_: function() {
return [this.nameField_.value,
« no previous file with comments | « chrome/browser/resources/options/search_engine_manager.js ('k') | chrome/browser/resources/options/search_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698