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

Unified Diff: components/content_settings/core/common/content_settings.cc

Issue 2965183002: Remove DO_NOT_USE from CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE (Closed)
Patch Set: . Created 3 years, 5 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: components/content_settings/core/common/content_settings.cc
diff --git a/components/content_settings/core/common/content_settings.cc b/components/content_settings/core/common/content_settings.cc
index 134529971ed8396156d99891c44f471397a55b15..e1dddb6ae9d2aa7f51580723c2809f17a2f3bc11 100644
--- a/components/content_settings/core/common/content_settings.cc
+++ b/components/content_settings/core/common/content_settings.cc
@@ -80,7 +80,7 @@ int ContentSettingTypeToHistogramValue(ContentSettingsType content_setting,
return a.type < b.type;
}));
static_assert(kHistogramValue[kNumHistogramValues - 1].type ==
- CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1,
+ CONTENT_SETTINGS_NUM_TYPES - 1,
"Update content settings histogram lookup");
const HistogramValue* found = std::lower_bound(
« no previous file with comments | « chrome/common/common_param_traits_macros.h ('k') | components/content_settings/core/common/content_settings_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698