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

Unified Diff: content/browser/histogram_message_filter.cc

Issue 12207058: Connect SparseHistogram with the rest of stats system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix and add tests Created 7 years, 10 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
Index: content/browser/histogram_message_filter.cc
diff --git a/content/browser/histogram_message_filter.cc b/content/browser/histogram_message_filter.cc
index 733ee87931143434fec6dfd96ad9945308c8caae..e5a021544c27df8e0eb889d076c5601893bf7e01 100644
--- a/content/browser/histogram_message_filter.cc
+++ b/content/browser/histogram_message_filter.cc
@@ -51,7 +51,8 @@ void HistogramMessageFilter::OnGetBrowserHistogram(
return;
if (name != "Memory.BrowserUsed")
return;
- base::Histogram* histogram = base::StatisticsRecorder::FindHistogram(name);
+ base::HistogramBase* histogram =
+ base::StatisticsRecorder::FindHistogram(name);
if (!histogram) {
*histogram_json = "{}";
} else {

Powered by Google App Engine
This is Rietveld 408576698