Index: net/disk_cache/stats_histogram.cc |
=================================================================== |
--- net/disk_cache/stats_histogram.cc (revision 86992) |
+++ net/disk_cache/stats_histogram.cc (working copy) |
@@ -4,7 +4,6 @@ |
#include "net/disk_cache/stats_histogram.h" |
-#include "base/debug/leak_annotations.h" |
#include "base/logging.h" |
#include "net/disk_cache/stats.h" |
@@ -22,7 +21,8 @@ |
stats_ = NULL; |
} |
-StatsHistogram* StatsHistogram::FactoryGet(const std::string& name) { |
+StatsHistogram* StatsHistogram::StatsHistogramFactoryGet( |
+ const std::string& name) { |
Histogram* histogram(NULL); |
Sample minimum = 1; |
@@ -38,8 +38,6 @@ |
stats_histogram->InitializeBucketRange(); |
stats_histogram->SetFlags(kUmaTargetedHistogramFlag); |
histogram = StatisticsRecorder::RegisterOrDeleteDuplicate(stats_histogram); |
- if (histogram == stats_histogram) |
- ANNOTATE_LEAKING_OBJECT_PTR(return_histogram); // see crbug.com/79322 |
} |
DCHECK(HISTOGRAM == histogram->histogram_type()); |