blob: 8e4f33f7ee9e1b3fe7b5dec7684c8fb7a30ae7b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- src/3rdparty/chromium/components/autofill/core/browser/webdata/autofill_sync_bridge_util.cc.orig 2023-10-11 18:22:24 UTC
+++ src/3rdparty/chromium/components/autofill/core/browser/webdata/autofill_sync_bridge_util.cc
@@ -553,11 +553,19 @@ ServerCvc AutofillWalletCvcStructDataFromWalletCredent
base::StringToInt64(wallet_credential_specifics.instrument_id(),
&instrument_id);
+#if defined(__clang__) && (__clang_major__ >= 15)
return ServerCvc(
instrument_id, base::UTF8ToUTF16(wallet_credential_specifics.cvc()),
base::Time::UnixEpoch() +
base::Milliseconds(wallet_credential_specifics
.last_updated_time_unix_epoch_millis()));
+#else
+ return ServerCvc( {
+ instrument_id, base::UTF8ToUTF16(wallet_credential_specifics.cvc()),
+ base::Time::UnixEpoch() +
+ base::Milliseconds(wallet_credential_specifics
+ .last_updated_time_unix_epoch_millis()) });
+#endif
}
VirtualCardUsageData VirtualCardUsageDataFromUsageSpecifics(
|