aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-chrome_browser_accessibility_pdf__ocr__controller.cc
blob: 10a5a2dc3c554a1065aa1788135495d9393fe97c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                       
--- chrome/browser/accessibility/pdf_ocr_controller.cc.orig	2024-01-30 07:53:34 UTC
+++ chrome/browser/accessibility/pdf_ocr_controller.cc
@@ -86,7 +86,7 @@ void AnnounceToScreenReader(const int message_id) {
 // TODO(crbug.com/1442928): Sending announcements results in a failure in
 // `AuraLinuxAccessibilityInProcessBrowserTest::IndexInParentWithModal` and
 // flaky fail when running Chrome.
-#if !BUILDFLAG(IS_LINUX)
+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
   const Browser* browser = BrowserList::GetInstance()->GetLastActive();
   if (!browser) {
     VLOG(2) << "Browser is not ready to announce";