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

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 crash on assertInstanceof 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 e6c58481337e6462dfbd367c4f33e8a4b3bd70a7..35bcff0309d46f59c6037857da994ffcef588890 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