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

Unified Diff: chrome/browser/resources/settings/site_settings/site_settings_category.js

Issue 2419413002: Deleted CONTENT_SETTINGS_TYPE_FULLSCREEN and MOUSELOCK. (Closed)
Patch Set: Fix more things. Created 4 years, 1 month 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/settings/site_settings/site_settings_category.js
diff --git a/chrome/browser/resources/settings/site_settings/site_settings_category.js b/chrome/browser/resources/settings/site_settings/site_settings_category.js
index dc96422163c7d2238082e5f127cf354e08abb80b..63cc5ace2c53df64ad00e0278f10d3d4eb37921d 100644
--- a/chrome/browser/resources/settings/site_settings/site_settings_category.js
+++ b/chrome/browser/resources/settings/site_settings/site_settings_category.js
@@ -140,8 +140,7 @@ Polymer({
settings.SiteSettingsPrefsBrowserProxyImpl.getInstance()
.getDefaultValueForContentType(
this.category).then(function(setting) {
- this.categoryEnabled =
- this.computeIsSettingEnabled(this.category, setting);
+ this.categoryEnabled = this.computeIsSettingEnabled(setting);
// Flash only shows ALLOW or BLOCK descriptions on the slider.
var sliderSetting = setting;

Powered by Google App Engine
This is Rietveld 408576698