summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-90-compositor-dcheck.patch
blob: d718a68cfadafded1c346871077a5e94b532d400 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                              
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());