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

21 lines
936 B
C++

--- printing/printing_features.cc.orig 2026-03-13 16:54:03 UTC
+++ printing/printing_features.cc
@@ -23,7 +23,7 @@ BASE_FEATURE(kAlignPdfDefaultPrintSettingsWithHTML,
BASE_FEATURE(kAlignPdfDefaultPrintSettingsWithHTML,
base::FEATURE_DISABLED_BY_DEFAULT);
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// Use the CUPS IPP printing backend instead of the original CUPS backend that
// calls the deprecated PPD API.
BASE_FEATURE(kCupsIppPrintingBackend, base::FEATURE_DISABLED_BY_DEFAULT);
@@ -58,7 +58,7 @@ BASE_FEATURE(kEnableOopPrintDrivers,
// Enables printing interactions with the operating system to be performed
// out-of-process.
BASE_FEATURE(kEnableOopPrintDrivers,
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT