summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 02:54:14 +0000
committerjar@chromium.org <jar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 02:54:14 +0000
commit141ba0fbc6d11e6b2d4e7411d266037d1bac11cf (patch)
tree377291ceb325ae7f8825b40fc6e51d35b1774034 /net
parent5d2b449b4f0b3d13c75e540c834c550ed38c0912 (diff)
downloadchromium_src-141ba0fbc6d11e6b2d4e7411d266037d1bac11cf.zip
chromium_src-141ba0fbc6d11e6b2d4e7411d266037d1bac11cf.tar.gz
chromium_src-141ba0fbc6d11e6b2d4e7411d266037d1bac11cf.tar.bz2
Small cleanup for previous histogram checkin
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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-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 028ae17..d859899 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::Register(&histogram);
+ StatisticsRecorder::RegisterOrDiscardDuplicate(&histogram);
}
DCHECK(HISTOGRAM == histogram->histogram_type());