blob: d718a68cfadafded1c346871077a5e94b532d400 (
plain) (
tree)
|
|
diff --git a/cc/metrics/compositor_frame_reporter.cc b/cc/metrics/compositor_frame_reporter.cc
index fcad7a8cd..152b724c8 100644
--- a/cc/metrics/compositor_frame_reporter.cc
+++ b/cc/metrics/compositor_frame_reporter.cc
@@ -960,7 +960,7 @@ void CompositorFrameReporter::ReportEventLatencyHistograms() const {
"EventLatency." + total_latency_stage_name;
for (const auto& event_metrics : events_metrics_) {
- DCHECK(event_metrics);
+ DCHECK(event_metrics.get());
const std::string histogram_base_name =
GetEventLatencyHistogramBaseName(*event_metrics);
const int event_type_index = static_cast<int>(event_metrics->type());
|