web-runtime: Update from chromium68 to chromium79
[AGL/meta-agl-demo.git] / recipes-wam / chromium / chromium79 / 0001-GCC-fix-includes-for-gcc-10.patch
1 From 07c48d101166930daa13bbcab6bf5c6be89a8bd8 Mon Sep 17 00:00:00 2001
2 From: Stephan Hartmann <stha09@googlemail.com>
3 Date: Tue, 7 Apr 2020 10:02:27 +0000
4 Subject: [PATCH] GCC: fix includes for gcc-10
5
6 From
7 https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/files/chromium-81-gcc-10.patch
8 ---
9  src/base/trace_event/trace_event_memory_overhead.h               | 1 +
10  src/chrome/browser/search/background/ntp_backgrounds.h           | 1 +
11  src/media/cdm/supported_cdm_versions.h                           | 1 +
12  src/third_party/angle/include/platform/Platform.h                | 1 +
13  src/third_party/perfetto/include/perfetto/base/task_runner.h     | 1 +
14  src/third_party/webrtc/call/rtx_receive_stream.h                 | 1 +
15  .../webrtc/modules/audio_processing/aec3/clockdrift_detector.h   | 1 +
16  7 files changed, 7 insertions(+)
17
18 diff --git a/src/base/trace_event/trace_event_memory_overhead.h b/src/base/trace_event/trace_event_memory_overhead.h
19 index 69468d464..3f5b786aa 100644
20 --- a/src/base/trace_event/trace_event_memory_overhead.h
21 +++ b/src/base/trace_event/trace_event_memory_overhead.h
22 @@ -9,6 +9,7 @@
23  #include <stdint.h>
24  
25  #include <unordered_map>
26 +#include <string>
27  
28  #include "base/base_export.h"
29  #include "base/macros.h"
30 diff --git a/src/chrome/browser/search/background/ntp_backgrounds.h b/src/chrome/browser/search/background/ntp_backgrounds.h
31 index 7afc0a230..ea5818e0d 100644
32 --- a/src/chrome/browser/search/background/ntp_backgrounds.h
33 +++ b/src/chrome/browser/search/background/ntp_backgrounds.h
34 @@ -6,6 +6,7 @@
35  #define CHROME_BROWSER_SEARCH_BACKGROUND_NTP_BACKGROUNDS_H_
36  
37  #include <array>
38 +#include <cstddef>
39  
40  class GURL;
41  
42 diff --git a/src/media/cdm/supported_cdm_versions.h b/src/media/cdm/supported_cdm_versions.h
43 index 2b54e197b..f34a2a265 100644
44 --- a/src/media/cdm/supported_cdm_versions.h
45 +++ b/src/media/cdm/supported_cdm_versions.h
46 @@ -6,6 +6,7 @@
47  #define MEDIA_CDM_SUPPORTED_CDM_VERSIONS_H_
48  
49  #include <array>
50 +#include <cstddef>
51  
52  #include "media/base/media_export.h"
53  #include "media/cdm/api/content_decryption_module.h"
54 diff --git a/src/third_party/angle/include/platform/Platform.h b/src/third_party/angle/include/platform/Platform.h
55 index cea607055..829ada6d0 100644
56 --- a/src/third_party/angle/include/platform/Platform.h
57 +++ b/src/third_party/angle/include/platform/Platform.h
58 @@ -11,6 +11,7 @@
59  
60  #include <stdint.h>
61  #include <array>
62 +#include <cstddef>
63  
64  #define EGL_PLATFORM_ANGLE_PLATFORM_METHODS_ANGLEX 0x3482
65  
66 diff --git a/src/third_party/perfetto/include/perfetto/base/task_runner.h b/src/third_party/perfetto/include/perfetto/base/task_runner.h
67 index cf6040123..02658e713 100644
68 --- a/src/third_party/perfetto/include/perfetto/base/task_runner.h
69 +++ b/src/third_party/perfetto/include/perfetto/base/task_runner.h
70 @@ -18,6 +18,7 @@
71  #define INCLUDE_PERFETTO_BASE_TASK_RUNNER_H_
72  
73  #include <functional>
74 +#include <cstdint>
75  
76  #include "perfetto/base/export.h"
77  
78 diff --git a/src/third_party/webrtc/call/rtx_receive_stream.h b/src/third_party/webrtc/call/rtx_receive_stream.h
79 index 8ffa4400a..113a8168b 100644
80 --- a/src/third_party/webrtc/call/rtx_receive_stream.h
81 +++ b/src/third_party/webrtc/call/rtx_receive_stream.h
82 @@ -12,6 +12,7 @@
83  #define CALL_RTX_RECEIVE_STREAM_H_
84  
85  #include <map>
86 +#include <cstdint>
87  
88  #include "call/rtp_packet_sink_interface.h"
89  
90 diff --git a/src/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h b/src/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
91 index 22528c948..69e624e8b 100644
92 --- a/src/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
93 +++ b/src/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
94 @@ -12,6 +12,7 @@
95  #define MODULES_AUDIO_PROCESSING_AEC3_CLOCKDRIFT_DETECTOR_H_
96  
97  #include <array>
98 +#include <cstddef>
99  
100  namespace webrtc {
101