diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h')
| -rw-r--r-- | www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h b/www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h new file mode 100644 index 0000000..1fe2ce5 --- /dev/null +++ b/www/chromium-uc/patches/patch-ui_views_controls_textfield_textfield_h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | $OpenBSD: patch-ui_views_controls_textfield_textfield_h,v 1.1 2021/11/16 11:28:47 robert Exp $ | ||
| 2 | |||
| 3 | Index: ui/views/controls/textfield/textfield.h | ||
| 4 | --- ui/views/controls/textfield/textfield.h.orig | ||
| 5 | +++ ui/views/controls/textfield/textfield.h | ||
| 6 | @@ -442,7 +442,7 @@ class VIEWS_EXPORT Textfield : public View, | ||
| 7 | // Set whether the text should be used to improve typing suggestions. | ||
| 8 | void SetShouldDoLearning(bool value) { should_do_learning_ = value; } | ||
| 9 | |||
| 10 | -#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) | ||
| 11 | +#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) | ||
| 12 | bool SetCompositionFromExistingText( | ||
| 13 | const gfx::Range& range, | ||
| 14 | const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) override; | ||
