Files
ports/devel/electron41/files/patch-chrome_browser_printing_printer__query.cc
2026-10-04 04:07:15 +00:00

12 lines
604 B
C++

--- chrome/browser/printing/printer_query.cc.orig 2025-05-11 11:50:45 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) {