aboutsummaryrefslogtreecommitdiffstats
path: root/chromium/chromium/chromium-gcc-12-r1196995.patch
blob: bc8fc9f38af1c76f148a986f5812f45ca610295e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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