summaryrefslogtreecommitdiffstats
path: root/net/disk_cache
diff options
context:
space:
mode:
authorrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 23:38:00 +0000
committerrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 23:38:00 +0000
commit7767bdbf906c1d9b3617cd99735bf247fed5c4ff (patch)
tree84a8a6510b957db497175e8fcf4c056a82e28c24 /net/disk_cache
parent309c9d7dd5c7cc31525abe97216f49019fdc382c (diff)
downloadchromium_src-7767bdbf906c1d9b3617cd99735bf247fed5c4ff.zip
chromium_src-7767bdbf906c1d9b3617cd99735bf247fed5c4ff.tar.gz
chromium_src-7767bdbf906c1d9b3617cd99735bf247fed5c4ff.tar.bz2
Revert 76345 - Small cleanup for previous histogram checkin
Reason for revert: This patch might have resulted in some flakiness in the sync bots on the chromium waterfall. CL http://codereview.chromium.org/6577013/ had a few changes suggested that were not incorporated. This CL has those name changes etc. r=rvargas Review URL: http://codereview.chromium.org/6591052 BUG=74467 TBR=jar@chromium.org Review URL: http://codereview.chromium.org/6591129 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76662 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache')
-rw-r--r--net/disk_cache/stats_histogram.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/stats_histogram.cc b/net/disk_cache/stats_histogram.cc
index d859899..028ae17 100644
--- a/net/disk_cache/stats_histogram.cc
+++ b/net/disk_cache/stats_histogram.cc
@@ -36,7 +36,7 @@ scoped_refptr<StatsHistogram> StatsHistogram::StatsHistogramFactoryGet(
bucket_count);
stats_histogram->InitializeBucketRange();
histogram = stats_histogram;
- StatisticsRecorder::RegisterOrDiscardDuplicate(&histogram);
+ StatisticsRecorder::Register(&histogram);
}
DCHECK(HISTOGRAM == histogram->histogram_type());