| Index: net/cert/x509_util.cc
|
| diff --git a/net/cert/x509_util.cc b/net/cert/x509_util.cc
|
| index 9b0cf51466bc3b708c62f446172035d0d4a270b4..35913c19d2b5cd1ba2e7eee46ddf9aa4e9844f0d 100644
|
| --- a/net/cert/x509_util.cc
|
| +++ b/net/cert/x509_util.cc
|
| @@ -159,7 +159,7 @@ bool ParseCertificateSandboxed(const base::StringPiece& certificate,
|
| auto iter = extensions.find(SubjectAltNameOid());
|
| if (iter != extensions.end()) {
|
| std::unique_ptr<GeneralNames> subject_alt_names =
|
| - GeneralNames::CreateFromDer(iter->second.value);
|
| + GeneralNames::Create(iter->second.value);
|
| if (subject_alt_names) {
|
| *dns_names = subject_alt_names->dns_names;
|
| for (const auto& ip : subject_alt_names->ip_addresses)
|
|
|