summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_browser_printing_print__job__worker.cc
blob: 66c0b9e4b39e13b140230ff6fd6bf2f4123ab602 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/printing/print_job_worker.cc.orig	2022-07-22 17:30:31 UTC
+++ chrome/browser/printing/print_job_worker.cc
@@ -209,7 +209,7 @@ void PrintJobWorker::UpdatePrintSettings(base::Value::
     crash_key = std::make_unique<crash_keys::ScopedPrinterInfo>(
         print_backend->GetPrinterDriverInfo(printer_name));
 
-#if BUILDFLAG(IS_LINUX) && defined(USE_CUPS)
+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && defined(USE_CUPS)
     PrinterBasicInfo basic_info;
     if (print_backend->GetPrinterBasicInfo(printer_name, &basic_info) ==
         mojom::ResultCode::kSuccess) {