| Index: net/disk_cache/blockfile/stats_histogram.cc
|
| diff --git a/net/disk_cache/blockfile/stats_histogram.cc b/net/disk_cache/blockfile/stats_histogram.cc
|
| index a95eb46f4373e5334a8a274bd50b2dffac482250..8a8642bab0982a65d6b59a75c6af2d1cf602d56a 100644
|
| --- a/net/disk_cache/blockfile/stats_histogram.cc
|
| +++ b/net/disk_cache/blockfile/stats_histogram.cc
|
| @@ -25,10 +25,11 @@ StatsHistogram::StatsHistogram(const std::string& name,
|
| Sample maximum,
|
| const BucketRanges* ranges,
|
| const Stats* stats)
|
| - : Histogram(name, minimum, maximum, ranges),
|
| - stats_(stats) {}
|
| + : Histogram(name, minimum, maximum, ranges), stats_(stats) {
|
| +}
|
|
|
| -StatsHistogram::~StatsHistogram() {}
|
| +StatsHistogram::~StatsHistogram() {
|
| +}
|
|
|
| // static
|
| void StatsHistogram::InitializeBucketRanges(const Stats* stats,
|
| @@ -77,7 +78,7 @@ void StatsHistogram::Disable() {
|
| scoped_ptr<HistogramSamples> StatsHistogram::SnapshotSamples() const {
|
| scoped_ptr<SampleVector> samples(new SampleVector(bucket_ranges()));
|
| if (stats_)
|
| - stats_->Snapshot(samples.get());
|
| + stats_->Snapshot(samples.get());
|
|
|
| // Only report UMA data once.
|
| StatsHistogram* mutable_me = const_cast<StatsHistogram*>(this);
|
|
|