aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-chrome_browser_printing_printer__query.cc
blob: 29d9336b9f6a92ed9da9e998dfb5206c3eba7b49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/printing/printer_query.cc.orig	2023-11-22 14:00:11 UTC
+++ chrome/browser/printing/printer_query.cc
@@ -339,7 +339,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) {