1 --- ui/views/controls/textfield/textfield.h.orig	2022-08-31 12:19:35 UTC
2 +++ ui/views/controls/textfield/textfield.h
3 @@ -42,7 +42,7 @@
4  #include "ui/views/view.h"
5  #include "ui/views/word_lookup_client.h"
6 
7 -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
8 +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
9  #include <vector>
10  #endif
11 
12 @@ -447,7 +447,7 @@ class VIEWS_EXPORT Textfield : public View,
13    // Set whether the text should be used to improve typing suggestions.
14    void SetShouldDoLearning(bool value) { should_do_learning_ = value; }
15 
16 -#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
17 +#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
18    bool SetCompositionFromExistingText(
19        const gfx::Range& range,
20        const std::vector<ui::ImeTextSpan>& ui_ime_text_spans) override;
21