Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Unified Diff: net/disk_cache/stats_histogram.cc

Issue 6962016: Revert "Land http://codereview.chromium.org/6869009 for the third time." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/stats_histogram.h ('k') | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/stats_histogram.cc
diff --git a/net/disk_cache/stats_histogram.cc b/net/disk_cache/stats_histogram.cc
index 14d2d70d93859a522d217f722ed17d29fd45f0c1..6d3097a8e6e3ce2ff88c3fbf2d357f9977c05c9d 100644
--- a/net/disk_cache/stats_histogram.cc
+++ b/net/disk_cache/stats_histogram.cc
@@ -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 @@ StatsHistogram::~StatsHistogram() {
stats_ = NULL;
}
-StatsHistogram* StatsHistogram::FactoryGet(const std::string& name) {
+StatsHistogram* StatsHistogram::StatsHistogramFactoryGet(
+ const std::string& name) {
Histogram* histogram(NULL);
Sample minimum = 1;
@@ -49,7 +49,6 @@ StatsHistogram* StatsHistogram::FactoryGet(const std::string& name) {
// Validate upcast by seeing that we're probably providing the checksum.
CHECK_EQ(return_histogram->StatsHistogram::CalculateRangeChecksum(),
return_histogram->CalculateRangeChecksum());
- ANNOTATE_LEAKING_OBJECT_PTR(return_histogram); // see crbug.com/79322
return return_histogram;
}
« no previous file with comments | « net/disk_cache/stats_histogram.h ('k') | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698