aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-printing_print__settings__conversion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-printing_print__settings__conversion.cc')
-rw-r--r--www/chromium/files/patch-printing_print__settings__conversion.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/chromium/files/patch-printing_print__settings__conversion.cc b/www/chromium/files/patch-printing_print__settings__conversion.cc
index 3f4093e5ad99..bd809412d24c 100644
--- a/www/chromium/files/patch-printing_print__settings__conversion.cc
+++ b/www/chromium/files/patch-printing_print__settings__conversion.cc
@@ -1,6 +1,6 @@
---- printing/print_settings_conversion.cc.orig 2021-09-24 04:26:09 UTC
+--- printing/print_settings_conversion.cc.orig 2021-12-14 11:45:09 UTC
+++ printing/print_settings_conversion.cc
-@@ -217,14 +217,14 @@ std::unique_ptr<PrintSettings> PrintSettingsFromJobSet
+@@ -220,7 +220,7 @@ std::unique_ptr<PrintSettings> PrintSettingsFromJobSet
#endif
}
@@ -9,8 +9,9 @@
const base::Value* advanced_settings =
job_settings.FindDictKey(kSettingAdvancedSettings);
if (advanced_settings) {
- for (const auto item : advanced_settings->DictItems())
- settings->advanced_settings().emplace(item.first, item.second.Clone());
+@@ -232,7 +232,7 @@ std::unique_ptr<PrintSettings> PrintSettingsFromJobSet
+ settings->advanced_settings().emplace(item.first, item.second.Clone());
+ }
}
-#endif // defined(OS_CHROMEOS) || (defined(OS_LINUX) && defined(USE_CUPS))
+#endif // defined(OS_CHROMEOS) || ((defined(OS_LINUX) || defined(OS_BSD)) && defined(USE_CUPS))