aboutsummaryrefslogtreecommitdiffstats
path: root/chromium/chromium/chromium-gcc-12-r1196995.patch
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chromium/chromium-gcc-12-r1196995.patch')
-rw-r--r--chromium/chromium/chromium-gcc-12-r1196995.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/chromium/chromium/chromium-gcc-12-r1196995.patch b/chromium/chromium/chromium-gcc-12-r1196995.patch
new file mode 100644
index 0000000..bc8fc9f
--- /dev/null
+++ b/chromium/chromium/chromium-gcc-12-r1196995.patch
@@ -0,0 +1,35 @@
+From ef7513096d041e9278edda3fd7515921ae378d72 Mon Sep 17 00:00:00 2001
+From: Jose Dapena Paz <jdapena@igalia.com>
+Date: Fri, 15 Sep 2023 06:46:15 +0000
+Subject: [PATCH] IWYU: usage of std::atomic requires include in
+ lightweight_detector.h
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Bug: 957519
+Change-Id: Ib6e3b67b9e741af58c78c924c5756b80d37c3e67
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4866063
+Commit-Queue: José Dapena Paz <jdapena@igalia.com>
+Reviewed-by: Jonathan Metzman <metzman@chromium.org>
+Cr-Commit-Position: refs/heads/main@{#1196995}
+---
+ components/gwp_asan/client/lightweight_detector.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/components/gwp_asan/client/lightweight_detector.h b/components/gwp_asan/client/lightweight_detector.h
+index 5caf14bc54c29..f1d125ff9626c 100644
+--- a/components/gwp_asan/client/lightweight_detector.h
++++ b/components/gwp_asan/client/lightweight_detector.h
+@@ -5,6 +5,8 @@
+ #ifndef COMPONENTS_GWP_ASAN_CLIENT_LIGHTWEIGHT_DETECTOR_H_
+ #define COMPONENTS_GWP_ASAN_CLIENT_LIGHTWEIGHT_DETECTOR_H_
+
++#include <atomic>
++
+ #include "base/gtest_prod_util.h"
+ #include "components/gwp_asan/client/export.h"
+ #include "components/gwp_asan/common/lightweight_detector_state.h"
+--
+2.41.0
+