aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-printing_mojom_printing__context__mojom__traits.h
blob: 302711bd37a4b612e5895541db0dab1d22abf971 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- printing/mojom/printing_context_mojom_traits.h.orig	2021-12-16 15:15:50 UTC
+++ printing/mojom/printing_context_mojom_traits.h
@@ -171,12 +171,12 @@ struct StructTraits<printing::mojom::PrintSettingsData
     return s.pages_per_sheet();
   }
 
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
   static const printing::PrintSettings::AdvancedSettings& advanced_settings(
       const printing::PrintSettings& s) {
     return s.advanced_settings();
   }
-#endif  // defined(OS_LINUX) || defined(OS_CHROMEOS)
+#endif  // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
 
 #if defined(OS_CHROMEOS)
   static bool send_user_info(const printing::PrintSettings& s) {