summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-components_autofill__assistant_browser_client__context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-components_autofill__assistant_browser_client__context.cc')
-rw-r--r--www/iridium/files/patch-components_autofill__assistant_browser_client__context.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/iridium/files/patch-components_autofill__assistant_browser_client__context.cc b/www/iridium/files/patch-components_autofill__assistant_browser_client__context.cc
index 228356b560d4..8a90c0e649e9 100644
--- a/www/iridium/files/patch-components_autofill__assistant_browser_client__context.cc
+++ b/www/iridium/files/patch-components_autofill__assistant_browser_client__context.cc
@@ -1,11 +1,11 @@
---- components/autofill_assistant/browser/client_context.cc.orig 2022-10-05 07:34:01 UTC
+--- components/autofill_assistant/browser/client_context.cc.orig 2023-01-17 19:19:00 UTC
+++ components/autofill_assistant/browser/client_context.cc
-@@ -23,7 +23,7 @@ ClientContextImpl::ClientContextImpl(const Client* cli
- proto_.set_platform_type(ClientContextProto::PLATFORM_TYPE_ANDROID);
- #endif
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
+@@ -109,7 +109,7 @@ ClientContextProto::PlatformType ClientContext::GetPla
+ #if BUILDFLAG(IS_ANDROID)
+ return ClientContextProto::PLATFORM_TYPE_ANDROID;
+ #elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC) || \
- BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA)
+ BUILDFLAG(IS_WIN) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
- proto_.set_platform_type(ClientContextProto::PLATFORM_TYPE_DESKTOP);
- #endif
-
+ return ClientContextProto::PLATFORM_TYPE_DESKTOP;
+ #else
+ return ClientContextProto::PLATFORM_TYPE_UNDEFINED;