summaryrefslogtreecommitdiff
path: root/www-client/chromium/files/chromium-88-compositor-dcheck.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-88-compositor-dcheck.patch')
-rw-r--r--www-client/chromium/files/chromium-88-compositor-dcheck.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-88-compositor-dcheck.patch b/www-client/chromium/files/chromium-88-compositor-dcheck.patch
new file mode 100644
index 0000000..ef51614
--- /dev/null
+++ b/www-client/chromium/files/chromium-88-compositor-dcheck.patch
@@ -0,0 +1,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());