mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 11:29:15 -04:00
Approved by: rene (mentor, implicit) Security: https://vuxml.freebsd.org/freebsd/fd87a250-ff78-11ed-8290-a8a1599412c6.html
11 lines
590 B
C++
11 lines
590 B
C++
--- chrome/browser/printing/printer_query.cc.orig 2023-05-31 08:12:17 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) {
|