forked from pool/nodejs-electron
- Update to 31.6.0 * ABI break: NODE_MODULE_VERSION is now 125 * Chromium 126.0.6478.234 * Node 20.17.0 * V8 12.6 * Breaking change: Remove WebSQL support * Breaking change: nativeImage.toDataURL will preserve PNG colorspace * Added options parameter to Session.clearData API. * Extended webContents.setWindowOpenHandler to support manual creation of BrowserWindow. * clearData method added to Session * Extended WebContentsView to accept pre-existing webContents object. * see https://www.electronjs.org/blog/electron-31-0 and https://github.com/electron/electron/releases/tag/v31.0.0 for more - Drop no longer needed patches * electron-13-fix-use-thin-lto.patch * remove-openscreen.patch * system-yuv.patch * chromium-122-abseil-shims.patch * electron-16-std-vector-non-const.patch * fake_ssl_socket_client-Wlto-type-mismatch.patch * angle-FramebufferVk-powf.patch * span_reader-missing-optional.patch * bitset-missing-uint8_t-memcpy.patch * temporal_scalability_id_extractor-missing-bitset.patch * gpu_adapter_info-missing-optional.patch * first_party_sets_handler_database_helper-missing-optional.patch * async_iterable-forwarding.patch * script_streamer-atomic-include.patch - Add patches to fix build * fix-build-without-safebrowsing.patch * fix-build-without-supervised-users.patch * Cr126-abseil-shims.patch * absl-base-dynamic_annotations.patch * webp-no-sharpyuv.patch * http_auth_ntlm_mechanism-could-not-convert-to-base-span.patch * angle-State-constexpr.patch * color_provider-incomplete-ColorProviderInternal.patch * run_segmenter-missing-optional.patch * page_popup_controller-missing-optional.patch * native_css_paint_definition-expected-unqualified-id.patch * text_decoder-missing-optional.patch * real_time_reporting_bindings-forward-declaration.patch * blink-platform-INSIDE_BLINK-Wodr.patch * quiche-QuicIntervalDeque-no-match-for-operator-mm.patch * ConsumeRadii-linker-error.patch - Conditionally revert upstreamed ffmpeg-7-ffmpeg_video_decoder-reordered_opaque.patch on old ffmpeg - Revert upstream changes to build with system abseil (quiche-absl-HexStringToBytes.patch) - Refresh bad-font-gc patches from Debian - aarch64: disable LTO also on Fedora 39 due to OOM OBS-URL: https://build.opensuse.org/request/show/1201463 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=171
35 lines
1.4 KiB
Diff
35 lines
1.4 KiB
Diff
From 42fc562599d784a8a646703ce3b7c158ce1a8466 Mon Sep 17 00:00:00 2001
|
|
From: Jose Dapena Paz <jdapena@igalia.com>
|
|
Date: Wed, 15 May 2024 14:01:03 +0000
|
|
Subject: [PATCH] IWYU: missing include for usage of std::optional in
|
|
run_segmenter.h
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Bug: 41455655
|
|
Change-Id: If28c13730926447b1d362ecfe08ae0bc44112876
|
|
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5539811
|
|
Commit-Queue: José Dapena Paz <jdapena@igalia.com>
|
|
Reviewed-by: Florin Malita <fmalita@chromium.org>
|
|
Cr-Commit-Position: refs/heads/main@{#1301267}
|
|
---
|
|
.../blink/renderer/platform/fonts/shaping/run_segmenter.h | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/third_party/blink/renderer/platform/fonts/shaping/run_segmenter.h b/third_party/blink/renderer/platform/fonts/shaping/run_segmenter.h
|
|
index 406c4070e91489..116f17dae944a7 100644
|
|
--- a/third_party/blink/renderer/platform/fonts/shaping/run_segmenter.h
|
|
+++ b/third_party/blink/renderer/platform/fonts/shaping/run_segmenter.h
|
|
@@ -6,7 +6,10 @@
|
|
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_SHAPING_RUN_SEGMENTER_H_
|
|
|
|
#include <unicode/uscript.h>
|
|
+
|
|
#include <memory>
|
|
+#include <optional>
|
|
+
|
|
#include "third_party/blink/renderer/platform/fonts/font_orientation.h"
|
|
#include "third_party/blink/renderer/platform/fonts/orientation_iterator.h"
|
|
#include "third_party/blink/renderer/platform/fonts/script_run_iterator.h"
|