summaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-chrome_browser_printing_printer__query.cc
blob: cced7ce1f221a146cbefcb11a2c7a1588e5190a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/printing/printer_query.cc.orig	2023-12-23 12:33:28 UTC
+++ chrome/browser/printing/printer_query.cc
@@ -341,7 +341,7 @@ void PrinterQuery::UpdatePrintSettings(base::Value::Di
     crash_key = std::make_unique<crash_keys::ScopedPrinterInfo>(
         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) {