Index: chrome/browser/resources/options/hotword_search_setting_indicator.js |
diff --git a/chrome/browser/resources/options/hotword_search_setting_indicator.js b/chrome/browser/resources/options/hotword_search_setting_indicator.js |
index a920e6c10f2d059cd6b022a76471cf3df2a0e59b..efc9300fe86f33c974400812997bcf9a487ba6c0 100644 |
--- a/chrome/browser/resources/options/hotword_search_setting_indicator.js |
+++ b/chrome/browser/resources/options/hotword_search_setting_indicator.js |
@@ -37,15 +37,6 @@ cr.define('options', function() { |
}, |
/** |
- * Sets the variable tracking thesection which becomes disabled if an |
- * error exists. |
- * @param {HTMLElement} section The section to disable. |
- */ |
- set disabledOnErrorSection(section) { |
- this.disabledOnErrorSection_ = section; |
- }, |
- |
- /** |
* Returns the current error. |
* @return {string} The error message to be displayed. May be undefined if |
* there is no error. |
@@ -71,8 +62,6 @@ cr.define('options', function() { |
updateBasedOnError: function() { |
if (this.errorText_) |
this.hidden = false; |
- if (this.disabledOnErrorSection_) |
- this.disabledOnErrorSection_.disabled = !!this.errorText_; |
}, |
/** |