forked from pool/nodejs-electron
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"
|