Index: chrome/browser/resources/options/controlled_setting.js |
diff --git a/chrome/browser/resources/options/controlled_setting.js b/chrome/browser/resources/options/controlled_setting.js |
index df428faea98fc5c99c450b330199696aa81e60be..652af10613ac31aedb53de81f9b35d7dfe1678c1 100644 |
--- a/chrome/browser/resources/options/controlled_setting.js |
+++ b/chrome/browser/resources/options/controlled_setting.js |
@@ -55,6 +55,12 @@ cr.define('options', function() { |
* Handle changes to the associated pref by hiding any currently visible |
* bubble and updating the controlledBy property. |
* @param {Event} event Pref change event. |
+ * @suppress {checkTypes} |
+ * TODO(vitalyp): remove the suppression. |controlledBy| property is defined |
+ * by cr.defineProperty(). Currently null can't be assigned to such |
+ * properties due to implementation of ChromePass.java. See this discussion |
+ * to change nulls to empty string below: |
+ * https://chromiumcodereview.appspot.com/11066015/ |
*/ |
handlePrefChange: function(event) { |
PageManager.hideBubble(); |