aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-components_autofill_core_common_autofill__payments__features.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-components_autofill_core_common_autofill__payments__features.cc')
-rw-r--r--devel/electron13/files/patch-components_autofill_core_common_autofill__payments__features.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-components_autofill_core_common_autofill__payments__features.cc b/devel/electron13/files/patch-components_autofill_core_common_autofill__payments__features.cc
new file mode 100644
index 000000000000..974792a717f6
--- /dev/null
+++ b/devel/electron13/files/patch-components_autofill_core_common_autofill__payments__features.cc
@@ -0,0 +1,11 @@
+--- components/autofill/core/common/autofill_payments_features.cc.orig 2021-07-15 19:13:36 UTC
++++ components/autofill/core/common/autofill_payments_features.cc
+@@ -144,7 +144,7 @@ bool ShouldShowImprovedUserConsentForCreditCardSave()
+ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // of lacros-chrome is complete.
+ #if defined(OS_WIN) || defined(OS_APPLE) || \
+- (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
++ (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) || defined(OS_BSD)
+ // The new user consent UI is fully launched on MacOS, Windows and Linux.
+ return true;
+ #else