aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-ui_views_controls_prefix__selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-ui_views_controls_prefix__selector.h')
-rw-r--r--devel/electron29/files/patch-ui_views_controls_prefix__selector.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-ui_views_controls_prefix__selector.h b/devel/electron29/files/patch-ui_views_controls_prefix__selector.h
new file mode 100644
index 000000000000..d272917a0ffd
--- /dev/null
+++ b/devel/electron29/files/patch-ui_views_controls_prefix__selector.h
@@ -0,0 +1,11 @@
+--- ui/views/controls/prefix_selector.h.orig 2022-08-31 12:19:35 UTC
++++ ui/views/controls/prefix_selector.h
+@@ -83,7 +83,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;