diff --git a/src/3rdparty/chromium/net/cert/x509_util_apple.cc b/src/3rdparty/chromium/net/cert/x509_util_apple.cc index ae69948dfca..7062a9a9b97 100644 --- a/src/3rdparty/chromium/net/cert/x509_util_apple.cc +++ b/src/3rdparty/chromium/net/cert/x509_util_apple.cc @@ -139,11 +139,6 @@ SHA256HashValue CalculateFingerprint256(SecCertificateRef cert) { base::ScopedCFTypeRef CertificateChainFromSecTrust( SecTrustRef trust) { - if (__builtin_available(macOS 12.0, iOS 15.0, *)) { - return base::ScopedCFTypeRef( - SecTrustCopyCertificateChain(trust)); - } - base::ScopedCFTypeRef chain( CFArrayCreateMutable(kCFAllocatorDefault, 0, &kCFTypeArrayCallBacks)); const CFIndex chain_length = SecTrustGetCertificateCount(trust);