Index: components/autofill/core/browser/autofill_metrics.cc |
diff --git a/components/autofill/core/browser/autofill_metrics.cc b/components/autofill/core/browser/autofill_metrics.cc |
index b1ea0d94f5da8017c73a55c52bdd0cf0bcca7aaf..c3a271ac617536a764aebff0962bc9fd21e68152 100644 |
--- a/components/autofill/core/browser/autofill_metrics.cc |
+++ b/components/autofill/core/browser/autofill_metrics.cc |
@@ -265,8 +265,7 @@ |
AutofillMetrics::~AutofillMetrics() { |
} |
-// static |
-void AutofillMetrics::LogCreditCardInfoBarMetric(InfoBarMetric metric) { |
+void AutofillMetrics::LogCreditCardInfoBarMetric(InfoBarMetric metric) const { |
DCHECK_LT(metric, NUM_INFO_BAR_METRICS); |
UMA_HISTOGRAM_ENUMERATION("Autofill.CreditCardInfoBar", metric, |
NUM_INFO_BAR_METRICS); |