aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_printing_printer__query.cc
blob: ff226678e5f671f879ae9f3ef908e79c32a5da32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/printing/printer_query.cc.orig	2023-11-03 10:09:45 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) {