From 846cdbdbf965fc50478bcc4c6436e3dc6a489f3f Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Thu, 14 Oct 2021 19:01:18 -0400 Subject: Initial commit. --- .../chromium/files/chromium-90-compositor-dcheck.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 www-client/chromium/files/chromium-90-compositor-dcheck.patch (limited to 'www-client/chromium/files/chromium-90-compositor-dcheck.patch') diff --git a/www-client/chromium/files/chromium-90-compositor-dcheck.patch b/www-client/chromium/files/chromium-90-compositor-dcheck.patch new file mode 100644 index 0000000..d718a68 --- /dev/null +++ b/www-client/chromium/files/chromium-90-compositor-dcheck.patch @@ -0,0 +1,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(event_metrics->type()); -- cgit v1.2.3