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