blob: 71d6c9034455ee5bde032c1c9c3f6f06e6a596fc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/3rdparty/chromium/ui/base/ime/linux/linux_input_method_context_factory.cc.orig 2023-03-28 19:45:02 UTC
+++ src/3rdparty/chromium/ui/base/ime/linux/linux_input_method_context_factory.cc
@@ -9,7 +9,7 @@
#include "build/build_config.h"
#include "ui/base/ime/linux/fake_input_method_context.h"
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
#include "ui/linux/linux_ui.h"
#include "ui/linux/linux_ui_delegate.h"
#endif
@@ -32,7 +32,7 @@ std::unique_ptr<LinuxInputMethodContext> CreateLinuxIn
if (auto factory = GetInputMethodContextFactoryForTest())
return factory.Run(delegate);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Give the toolkit a chance to create the context.
if (auto* linux_ui = LinuxUi::instance()) {
if (auto context = linux_ui->CreateInputMethodContext(delegate))
|