summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-16 21:06:13 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-16 21:06:13 +0000
commit9253bf916a5c1ea331a09bf26f538cccd5935f97 (patch)
tree90a7395a079c23bb770a04bbeea9d52da17d0def
parent946581a3ddc0b0da3cc31595619dd59ac4ae1474 (diff)
downloadchromium_src-9253bf916a5c1ea331a09bf26f538cccd5935f97.zip
chromium_src-9253bf916a5c1ea331a09bf26f538cccd5935f97.tar.gz
chromium_src-9253bf916a5c1ea331a09bf26f538cccd5935f97.tar.bz2
Fix up Autofill server experiment id metrics.
The UMA_HISTOGRAM_ENUMERATION macro declares a static object, so we need to explode the macro. BUG=none TEST=none Review URL: http://codereview.chromium.org/7184003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89397 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/autofill/autofill_metrics.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/autofill/autofill_metrics.cc b/chrome/browser/autofill/autofill_metrics.cc
index bb4df43..0e901fa 100644
--- a/chrome/browser/autofill/autofill_metrics.cc
+++ b/chrome/browser/autofill/autofill_metrics.cc
@@ -218,8 +218,7 @@ void LogServerExperimentId(const std::string& histogram_name,
metric = ACCEPTANCE_RATIO_04_WINNER_LEAD_RATIO_3_MIN_FORM_SCORE_4;
DCHECK(metric < NUM_SERVER_EXPERIMENTS);
- UMA_HISTOGRAM_ENUMERATION(histogram_name, metric,
- NUM_SERVER_EXPERIMENTS);
+ LogUMAHistogramEnumeration(histogram_name, metric, NUM_SERVER_EXPERIMENTS);
}
} // namespace