diff options
author | Martin Negyokru <negyokru@inf.u-szeged.hu> | 2023-03-03 16:56:50 +0100 |
---|---|---|
committer | Christophe Marin <christophe@krop.fr> | 2023-04-14 08:15:25 +0000 |
commit | 10fa4ebe6b2868460c845b524c0379b8dc216cfc (patch) | |
tree | 2737216fbc4848746771c7c3b7f7ceb42e4172de | |
parent | fb66d7ca9641724670c96e999ad5b0fd6eb78d46 (diff) | |
download | qtwebengine-chromium-10fa4ebe6b2868460c845b524c0379b8dc216cfc.tar.gz |
Fixes for building with GCC-13
Fixes: QTBUG-111697
Change-Id: I51fca3b3eb627b2617ff5c6c051fa1182671244d
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/464490
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 9de0d8a90d9b0176542db8b54d678a9fcbb69337)
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/468198
Reviewed-by: Christophe Marin <christophe@krop.fr>
32 files changed, 41 insertions, 1 deletions
diff --git a/chromium/base/debug/profiler.h b/chromium/base/debug/profiler.h index 1229e06234c..be6e272e021 100644 --- a/chromium/base/debug/profiler.h +++ b/chromium/base/debug/profiler.h @@ -6,6 +6,7 @@ #define BASE_DEBUG_PROFILER_H_ #include <stddef.h> +#include <cstdint> #include <string> diff --git a/chromium/base/debug/stack_trace.h b/chromium/base/debug/stack_trace.h index b8d64870664..052e130f567 100644 --- a/chromium/base/debug/stack_trace.h +++ b/chromium/base/debug/stack_trace.h @@ -7,6 +7,7 @@ #include <stddef.h> +#include <cstdint> #include <iosfwd> #include <string> diff --git a/chromium/cc/trees/target_property.cc b/chromium/cc/trees/target_property.cc index ed206255730..00595fda004 100644 --- a/chromium/cc/trees/target_property.cc +++ b/chromium/cc/trees/target_property.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include <cstdint> + #include "cc/trees/target_property.h" namespace cc { diff --git a/chromium/content/public/browser/browsing_data_remover_delegate.h b/chromium/content/public/browser/browsing_data_remover_delegate.h index 3896bc6e786..b93843dc16b 100644 --- a/chromium/content/public/browser/browsing_data_remover_delegate.h +++ b/chromium/content/public/browser/browsing_data_remover_delegate.h @@ -5,6 +5,7 @@ #ifndef CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_ #define CONTENT_PUBLIC_BROWSER_BROWSING_DATA_REMOVER_DELEGATE_H_ +#include <cstdint> #include <string> #include <vector> #include "base/callback_forward.h" diff --git a/chromium/device/base/synchronization/one_writer_seqlock.h b/chromium/device/base/synchronization/one_writer_seqlock.h index 2ad75e8af57..ce5c2bd735b 100644 --- a/chromium/device/base/synchronization/one_writer_seqlock.h +++ b/chromium/device/base/synchronization/one_writer_seqlock.h @@ -6,6 +6,7 @@ #define DEVICE_BASE_SYNCHRONIZATION_ONE_WRITER_SEQLOCK_H_ #include <atomic> +#include <cstdint> #include "base/atomicops.h" #include "base/macros.h" diff --git a/chromium/device/bluetooth/public/cpp/bluetooth_uuid.h b/chromium/device/bluetooth/public/cpp/bluetooth_uuid.h index 0c27ae71059..b64f82f7548 100644 --- a/chromium/device/bluetooth/public/cpp/bluetooth_uuid.h +++ b/chromium/device/bluetooth/public/cpp/bluetooth_uuid.h @@ -5,6 +5,7 @@ #ifndef DEVICE_BLUETOOTH_PUBLIC_CPP_BLUETOOTH_UUID_H_ #define DEVICE_BLUETOOTH_PUBLIC_CPP_BLUETOOTH_UUID_H_ +#include <cstdint> #include <string> #include <vector> diff --git a/chromium/extensions/browser/api/audio/audio_device_id_calculator.h b/chromium/extensions/browser/api/audio/audio_device_id_calculator.h index 9d2858177ef..d263f670320 100644 --- a/chromium/extensions/browser/api/audio/audio_device_id_calculator.h +++ b/chromium/extensions/browser/api/audio/audio_device_id_calculator.h @@ -5,6 +5,7 @@ #ifndef EXTENSIONS_BROWSER_API_AUDIO_AUDIO_DEVICE_ID_CALCULATOR_H_ #define EXTENSIONS_BROWSER_API_AUDIO_AUDIO_DEVICE_ID_CALCULATOR_H_ +#include <cstdint> #include <map> #include <string> diff --git a/chromium/extensions/common/constants.h b/chromium/extensions/common/constants.h index 747906a062f..e6183dc110a 100644 --- a/chromium/extensions/common/constants.h +++ b/chromium/extensions/common/constants.h @@ -5,6 +5,8 @@ #ifndef EXTENSIONS_COMMON_CONSTANTS_H_ #define EXTENSIONS_COMMON_CONSTANTS_H_ +#include <cstdint> + #include "base/files/file_path.h" #include "base/strings/string_piece_forward.h" #include "components/services/app_service/public/mojom/types.mojom.h" diff --git a/chromium/extensions/renderer/bindings/api_invocation_errors.h b/chromium/extensions/renderer/bindings/api_invocation_errors.h index 4ba8de84601..6352b901968 100644 --- a/chromium/extensions/renderer/bindings/api_invocation_errors.h +++ b/chromium/extensions/renderer/bindings/api_invocation_errors.h @@ -5,6 +5,7 @@ #ifndef EXTENSIONS_RENDERER_BINDINGS_API_INVOCATION_ERRORS_H_ #define EXTENSIONS_RENDERER_BINDINGS_API_INVOCATION_ERRORS_H_ +#include <cstdint> #include <set> #include <string> diff --git a/chromium/gpu/command_buffer/common/webgpu_cmd_enums.h b/chromium/gpu/command_buffer/common/webgpu_cmd_enums.h index 83615b30c8a..8fa9fb1f6d5 100644 --- a/chromium/gpu/command_buffer/common/webgpu_cmd_enums.h +++ b/chromium/gpu/command_buffer/common/webgpu_cmd_enums.h @@ -5,6 +5,8 @@ #ifndef GPU_COMMAND_BUFFER_COMMON_WEBGPU_CMD_ENUMS_H_ #define GPU_COMMAND_BUFFER_COMMON_WEBGPU_CMD_ENUMS_H_ +#include <cstdint> + namespace gpu { namespace webgpu { diff --git a/chromium/gpu/config/device_perf_info.h b/chromium/gpu/config/device_perf_info.h index e33874ba3bd..824a207a224 100644 --- a/chromium/gpu/config/device_perf_info.h +++ b/chromium/gpu/config/device_perf_info.h @@ -5,6 +5,7 @@ #ifndef GPU_CONFIG_DEVICE_PERF_INFO_H_ #define GPU_CONFIG_DEVICE_PERF_INFO_H_ +#include <cstdint> #include <string> #include <vector> diff --git a/chromium/gpu/config/gpu_feature_info.h b/chromium/gpu/config/gpu_feature_info.h index 027f1a5af3e..70759b2ae47 100644 --- a/chromium/gpu/config/gpu_feature_info.h +++ b/chromium/gpu/config/gpu_feature_info.h @@ -5,6 +5,7 @@ #ifndef GPU_CONFIG_GPU_FEATURE_INFO_H_ #define GPU_CONFIG_GPU_FEATURE_INFO_H_ +#include <cstdint> #include <string> #include <vector> diff --git a/chromium/gpu/config/gpu_preferences.h b/chromium/gpu/config/gpu_preferences.h index 6b8587151d6..57bda1f99d3 100644 --- a/chromium/gpu/config/gpu_preferences.h +++ b/chromium/gpu/config/gpu_preferences.h @@ -6,6 +6,7 @@ #define GPU_CONFIG_GPU_PREFERENCES_H_ #include <stddef.h> +#include <cstdint> #include <string> #include <vector> diff --git a/chromium/net/base/parse_number.h b/chromium/net/base/parse_number.h index 0b4cfc1f8e3..301d14ac8a9 100644 --- a/chromium/net/base/parse_number.h +++ b/chromium/net/base/parse_number.h @@ -5,6 +5,8 @@ #ifndef NET_BASE_PARSE_NUMBER_H_ #define NET_BASE_PARSE_NUMBER_H_ +#include <cstdint> + #include "base/compiler_specific.h" #include "base/strings/string_piece.h" #include "net/base/net_export.h" diff --git a/chromium/net/cookies/cookie_inclusion_status.h b/chromium/net/cookies/cookie_inclusion_status.h index 9e506b55501..cfb03bfe2b3 100644 --- a/chromium/net/cookies/cookie_inclusion_status.h +++ b/chromium/net/cookies/cookie_inclusion_status.h @@ -5,6 +5,7 @@ #ifndef NET_COOKIES_COOKIE_INCLUSION_STATUS_H_ #define NET_COOKIES_COOKIE_INCLUSION_STATUS_H_ +#include <cstdint> #include <string> #include <vector> diff --git a/chromium/pdf/document_attachment_info.h b/chromium/pdf/document_attachment_info.h index 254398e6226..fd78cb72956 100644 --- a/chromium/pdf/document_attachment_info.h +++ b/chromium/pdf/document_attachment_info.h @@ -5,6 +5,8 @@ #ifndef PDF_DOCUMENT_ATTACHMENT_INFO_H_ #define PDF_DOCUMENT_ATTACHMENT_INFO_H_ +#include <cstdint> + #include "base/strings/string16.h" namespace chrome_pdf { diff --git a/chromium/sandbox/linux/syscall_broker/broker_file_permission.h b/chromium/sandbox/linux/syscall_broker/broker_file_permission.h index e6d0152777e..e19e4fd1a77 100644 --- a/chromium/sandbox/linux/syscall_broker/broker_file_permission.h +++ b/chromium/sandbox/linux/syscall_broker/broker_file_permission.h @@ -5,6 +5,7 @@ #ifndef SANDBOX_LINUX_SYSCALL_BROKER_BROKER_FILE_PERMISSION_H_ #define SANDBOX_LINUX_SYSCALL_BROKER_BROKER_FILE_PERMISSION_H_ +#include <cstdint> #include <string> #include "base/macros.h" diff --git a/chromium/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h b/chromium/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h index a9b9e137deb..6f1122c42b1 100644 --- a/chromium/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h +++ b/chromium/third_party/abseil-cpp/absl/strings/internal/str_format/extension.h @@ -19,6 +19,7 @@ #include <limits.h> #include <cstddef> +#include <cstdint> #include <cstring> #include <ostream> diff --git a/chromium/third_party/angle/include/GLSLANG/ShaderVars.h b/chromium/third_party/angle/include/GLSLANG/ShaderVars.h index 9911546b90d..48b660db36b 100644 --- a/chromium/third_party/angle/include/GLSLANG/ShaderVars.h +++ b/chromium/third_party/angle/include/GLSLANG/ShaderVars.h @@ -12,6 +12,7 @@ #include <algorithm> #include <array> +#include <cstdint> #include <string> #include <vector> diff --git a/chromium/third_party/angle/src/common/angleutils.h b/chromium/third_party/angle/src/common/angleutils.h index f669d7df308..fb9a44225c4 100644 --- a/chromium/third_party/angle/src/common/angleutils.h +++ b/chromium/third_party/angle/src/common/angleutils.h @@ -18,6 +18,7 @@ #include <climits> #include <cstdarg> #include <cstddef> +#include <cstdint> #include <set> #include <sstream> #include <string> diff --git a/chromium/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h b/chromium/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h index 0177372c424..b4a613e8e50 100644 --- a/chromium/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h +++ b/chromium/third_party/blink/public/common/bluetooth/web_bluetooth_device_id.h @@ -5,6 +5,7 @@ #ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_BLUETOOTH_WEB_BLUETOOTH_DEVICE_ID_H_ #define THIRD_PARTY_BLINK_PUBLIC_COMMON_BLUETOOTH_WEB_BLUETOOTH_DEVICE_ID_H_ +#include <cstdint> #include <string> #include "third_party/blink/public/common/common_export.h" diff --git a/chromium/third_party/blink/renderer/platform/graphics/dark_mode_types.h b/chromium/third_party/blink/renderer/platform/graphics/dark_mode_types.h index 14c55487660..43c9a8d6a50 100644 --- a/chromium/third_party/blink/renderer/platform/graphics/dark_mode_types.h +++ b/chromium/third_party/blink/renderer/platform/graphics/dark_mode_types.h @@ -5,6 +5,8 @@ #ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_DARK_MODE_TYPES_H_ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_DARK_MODE_TYPES_H_ +#include <cstdint> + namespace blink { enum class DarkModeResult : uint8_t { diff --git a/chromium/third_party/breakpad/breakpad/src/client/linux/handler/minidump_descriptor.h b/chromium/third_party/breakpad/breakpad/src/client/linux/handler/minidump_descriptor.h index c7e4f2b3787..e491a1f6845 100644 --- a/chromium/third_party/breakpad/breakpad/src/client/linux/handler/minidump_descriptor.h +++ b/chromium/third_party/breakpad/breakpad/src/client/linux/handler/minidump_descriptor.h @@ -33,6 +33,7 @@ #include <assert.h> #include <sys/types.h> +#include <cstdint> #include <string> #include "client/linux/handler/microdump_extra_info.h" diff --git a/chromium/third_party/pdfium/constants/annotation_flags.h b/chromium/third_party/pdfium/constants/annotation_flags.h index d2731dac7a3..46bc87ef92a 100644 --- a/chromium/third_party/pdfium/constants/annotation_flags.h +++ b/chromium/third_party/pdfium/constants/annotation_flags.h @@ -5,6 +5,8 @@ #ifndef CONSTANTS_ANNOTATION_FLAGS_H_ #define CONSTANTS_ANNOTATION_FLAGS_H_ +#include <cstdint> + namespace pdfium { namespace annotation_flags { diff --git a/chromium/third_party/perfetto/include/perfetto/ext/base/uuid.h b/chromium/third_party/perfetto/include/perfetto/ext/base/uuid.h index 1b4c53815bc..472042fabc4 100644 --- a/chromium/third_party/perfetto/include/perfetto/ext/base/uuid.h +++ b/chromium/third_party/perfetto/include/perfetto/ext/base/uuid.h @@ -18,6 +18,7 @@ #define INCLUDE_PERFETTO_EXT_BASE_UUID_H_ #include <array> +#include <cstdint> #include <string> #include "perfetto/ext/base/optional.h" diff --git a/chromium/third_party/webrtc/call/rtp_demuxer.h b/chromium/third_party/webrtc/call/rtp_demuxer.h index 3aa7e9df268..3cfc8d6a3e9 100644 --- a/chromium/third_party/webrtc/call/rtp_demuxer.h +++ b/chromium/third_party/webrtc/call/rtp_demuxer.h @@ -11,6 +11,7 @@ #ifndef CALL_RTP_DEMUXER_H_ #define CALL_RTP_DEMUXER_H_ +#include <cstdint> #include <map> #include <set> #include <string> diff --git a/chromium/third_party/webrtc/rtc_base/third_party/base64/base64.h b/chromium/third_party/webrtc/rtc_base/third_party/base64/base64.h index 7a936f23e78..21951a1d240 100644 --- a/chromium/third_party/webrtc/rtc_base/third_party/base64/base64.h +++ b/chromium/third_party/webrtc/rtc_base/third_party/base64/base64.h @@ -12,6 +12,7 @@ #ifndef RTC_BASE_THIRD_PARTY_BASE64_BASE64_H_ #define RTC_BASE_THIRD_PARTY_BASE64_BASE64_H_ +#include <cstdint> #include <string> #include <vector> diff --git a/chromium/third_party/xcbproto/src/src/present.xml b/chromium/third_party/xcbproto/src/src/present.xml index fb06e73f02f..f20c11eb2c0 100644 --- a/chromium/third_party/xcbproto/src/src/present.xml +++ b/chromium/third_party/xcbproto/src/src/present.xml @@ -89,7 +89,7 @@ OF THIS SOFTWARE. </reply> </request> - <request name="Pixmap" opcode="1"> + <request name="PresentPixmap" opcode="1"> <required_start_align align="8" /> <field type="WINDOW" name="window" /> <field type="PIXMAP" name="pixmap" /> diff --git a/chromium/ui/base/prediction/kalman_filter.h b/chromium/ui/base/prediction/kalman_filter.h index 0571cdb4ef6..7223cd9263b 100644 --- a/chromium/ui/base/prediction/kalman_filter.h +++ b/chromium/ui/base/prediction/kalman_filter.h @@ -5,6 +5,8 @@ #ifndef UI_BASE_PREDICTION_KALMAN_FILTER_H_ #define UI_BASE_PREDICTION_KALMAN_FILTER_H_ +#include <cstdint> + #include "base/component_export.h" #include "base/macros.h" #include "ui/gfx/geometry/matrix3_f.h" diff --git a/chromium/ui/events/types/scroll_types.h b/chromium/ui/events/types/scroll_types.h index 7ff15f0fc5c..136cebc09ed 100644 --- a/chromium/ui/events/types/scroll_types.h +++ b/chromium/ui/events/types/scroll_types.h @@ -5,6 +5,8 @@ #ifndef UI_EVENTS_TYPES_SCROLL_TYPES_H_ #define UI_EVENTS_TYPES_SCROLL_TYPES_H_ +#include <cstdint> + namespace ui { enum class ScrollGranularity : uint8_t { diff --git a/chromium/v8/src/base/logging.h b/chromium/v8/src/base/logging.h index fe39f988225..7c774ed30ad 100644 --- a/chromium/v8/src/base/logging.h +++ b/chromium/v8/src/base/logging.h @@ -6,6 +6,7 @@ #define V8_BASE_LOGGING_H_ #include <cstring> +#include <cstdint> #include <sstream> #include <string> diff --git a/chromium/v8/src/inspector/v8-string-conversions.h b/chromium/v8/src/inspector/v8-string-conversions.h index c1d69c18f0a..eb33c6816a5 100644 --- a/chromium/v8/src/inspector/v8-string-conversions.h +++ b/chromium/v8/src/inspector/v8-string-conversions.h @@ -5,6 +5,7 @@ #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ +#include <cstdint> #include <string> // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may |