Chromium Code Reviews| Index: base/message_loop.cc |
| =================================================================== |
| --- base/message_loop.cc (revision 69955) |
| +++ base/message_loop.cc (working copy) |
| @@ -639,7 +639,7 @@ |
| void MessageLoop::StartHistogrammer() { |
| if (enable_histogrammer_ && !message_histogram_.get() |
| - && base::StatisticsRecorder::WasStarted()) { |
| + && base::StatisticsRecorder::IsActive()) { |
| DCHECK(!thread_name_.empty()); |
| message_histogram_ = base::LinearHistogram::FactoryGet( |
| "MsgLoop:" + thread_name_, |