aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-ui_views_controls_prefix__selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-ui_views_controls_prefix__selector.h')
-rw-r--r--devel/electron37/files/patch-ui_views_controls_prefix__selector.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-ui_views_controls_prefix__selector.h b/devel/electron37/files/patch-ui_views_controls_prefix__selector.h
new file mode 100644
index 000000000000..7176eb058fc5
--- /dev/null
+++ b/devel/electron37/files/patch-ui_views_controls_prefix__selector.h
@@ -0,0 +1,11 @@
+--- ui/views/controls/prefix_selector.h.orig 2025-01-27 17:37:37 UTC
++++ ui/views/controls/prefix_selector.h
+@@ -91,7 +91,7 @@ class VIEWS_EXPORT PrefixSelector : public ui::TextInp
+ ukm::SourceId GetClientSourceForMetrics() const override;
+ bool ShouldDoLearning() override;
+
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ bool SetCompositionFromExistingText(
+ const gfx::Range& range,
+ const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) override;