aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-printing_print__settings__conversion.cc
blob: 0e7ac95bb07f06b4a81ff4e570f020dfdcec79c0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                       
                                         
                                                                          
                                                        
    
 

                                                                                                  

                                                       
                           
--- printing/print_settings_conversion.cc.orig	2023-04-05 11:05:06 UTC
+++ printing/print_settings_conversion.cc
@@ -277,7 +277,7 @@ std::unique_ptr<PrintSettings> PrintSettingsFromJobSet
     settings->set_is_modifiable(is_modifiable.value());
   }
 
-#if BUILDFLAG(IS_CHROMEOS) || (BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_CUPS))
+#if BUILDFLAG(IS_CHROMEOS) || ((BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_CUPS))
   const base::Value::Dict* advanced_settings =
       job_settings.FindDict(kSettingAdvancedSettings);
   if (advanced_settings) {