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

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

Issue 553573003: Compile chrome://settings, part 3: 167 proper errors left (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@G_options_errors_1
Patch Set: fixed nits 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/controlled_setting.js
diff --git a/chrome/browser/resources/options/controlled_setting.js b/chrome/browser/resources/options/controlled_setting.js
index df428faea98fc5c99c450b330199696aa81e60be..09460c2559fa3635c35fbc6c77a7ae08aaef696b 100644
--- a/chrome/browser/resources/options/controlled_setting.js
+++ b/chrome/browser/resources/options/controlled_setting.js
@@ -67,14 +67,14 @@ cr.define('options', function() {
this.extensionName = event.value.extension.name;
}
} else {
- this.controlledBy = null;
+ this.controlledBy = '';
}
} else if (event.value.recommendedValue != undefined) {
this.controlledBy =
!this.value || String(event.value.recommendedValue) == this.value ?
- 'hasRecommendation' : null;
+ 'hasRecommendation' : '';
} else {
- this.controlledBy = null;
+ this.controlledBy = '';
}
},

Powered by Google App Engine
This is Rietveld 408576698