32 lines
1004 B
C++
32 lines
1004 B
C++
$NetBSD$
|
|
|
|
--- content/public/test/content_browser_test.cc.orig 2020-07-08 21:40:42.000000000 +0000
|
|
+++ content/public/test/content_browser_test.cc
|
|
@@ -25,7 +25,7 @@
|
|
#include "base/mac/foundation_util.h"
|
|
#endif
|
|
|
|
-#if !defined(OS_CHROMEOS) && defined(OS_LINUX)
|
|
+#if !defined(OS_CHROMEOS) && (defined(OS_LINUX) || defined(OS_BSD))
|
|
#include "ui/base/ime/init/input_method_initializer.h"
|
|
#endif
|
|
|
|
@@ -82,7 +82,7 @@ void ContentBrowserTest::SetUp() {
|
|
#endif
|
|
|
|
// LinuxInputMethodContextFactory has to be initialized.
|
|
-#if !defined(OS_CHROMEOS) && defined(OS_LINUX)
|
|
+#if !defined(OS_CHROMEOS) && (defined(OS_LINUX) || defined(OS_BSD))
|
|
ui::InitializeInputMethodForTesting();
|
|
#endif
|
|
|
|
@@ -95,7 +95,7 @@ void ContentBrowserTest::TearDown() {
|
|
BrowserTestBase::TearDown();
|
|
|
|
// LinuxInputMethodContextFactory has to be shutdown.
|
|
-#if !defined(OS_CHROMEOS) && defined(OS_LINUX)
|
|
+#if !defined(OS_CHROMEOS) && (defined(OS_LINUX) || defined(OS_BSD))
|
|
ui::ShutdownInputMethodForTesting();
|
|
#endif
|
|
}
|