summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-89-compositor-dcheck.patch
blob: 2a12ca96559e40f52209c7acc5e15c8584b06187 (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 bab060123..f3ee60127 100644
--- a/cc/metrics/compositor_frame_reporter.cc
+++ b/cc/metrics/compositor_frame_reporter.cc
@@ -767,7 +767,7 @@ void CompositorFrameReporter::ReportCompositorLatencyHistogram(
 
 void CompositorFrameReporter::ReportEventLatencyHistograms() const {
   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());