summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-chrome_browser_printing_printer__query.cc
blob: 35e602b6ee9bf2c1395525cdbe549c5a99e0061d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/printing/printer_query.cc.orig	2025-05-07 06:48:23 UTC
+++ chrome/browser/printing/printer_query.cc
@@ -342,7 +342,7 @@ void PrinterQuery::UpdatePrintSettings(base::Value::Di
     crash_key = std::make_unique<crash_keys::ScopedPrinterInfo>(
         printer_name, print_backend->GetPrinterDriverInfo(printer_name));
 
-#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_CUPS)
+#if (BUILDFLAG(IS_BSD) || BUILDFLAG(IS_LINUX)) && BUILDFLAG(USE_CUPS)
     PrinterBasicInfo basic_info;
     if (print_backend->GetPrinterBasicInfo(printer_name, &basic_info) ==
         mojom::ResultCode::kSuccess) {