summaryrefslogblamecommitdiff
path: root/www-client/chromium/files/chromium-88-compositor-dcheck.patch
blob: ef51614c3c6ecc4622438cc046a37882e21bcc7f (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 93d0e2352..7ca5e379c 100644
--- a/cc/metrics/compositor_frame_reporter.cc
+++ b/cc/metrics/compositor_frame_reporter.cc
@@ -671,7 +671,7 @@ void CompositorFrameReporter::ReportCompositorLatencyHistogram(
 
 void CompositorFrameReporter::ReportEventLatencyHistograms() const {
   for (const auto& event_metrics : events_metrics_) {
-    DCHECK_NE(event_metrics, nullptr);
+    DCHECK_NE(event_metrics.get(), nullptr);
     const std::string histogram_base_name =
         GetEventLatencyHistogramBaseName(*event_metrics);
     const int event_type_index = static_cast<int>(event_metrics->type());