Index: content/child/child_histogram_message_filter.cc |
diff --git a/content/child/child_histogram_message_filter.cc b/content/child/child_histogram_message_filter.cc |
index 3cf36ce46c00afbed479f935a0351123c4e2c81e..3e895fcfe8d176248652972e0764fa68b3af0e2e 100644 |
--- a/content/child/child_histogram_message_filter.cc |
+++ b/content/child/child_histogram_message_filter.cc |
@@ -63,9 +63,11 @@ void ChildHistogramMessageFilter::UploadAllHistograms(int sequence_number) { |
sender_->Send( |
new ChildProcessHostMsg_ChildHistogramData(sequence_number, deltas)); |
+#ifndef NDEBUG |
static int count = 0; |
count++; |
- DHISTOGRAM_COUNTS("Histogram.ChildProcessHistogramSentCount", count); |
+ LOCAL_HISTOGRAM_COUNTS("Histogram.ChildProcessHistogramSentCount", count); |
+#endif |
} |
} // namespace content |