| Index: net/cert/x509_cert_types.cc
|
| diff --git a/net/cert/x509_cert_types.cc b/net/cert/x509_cert_types.cc
|
| index 766a1f0429b3a6add189dc7ba5065d5e5cd982b8..e2ffb3d1b05ab829423360f7b9613e71e042a7bd 100644
|
| --- a/net/cert/x509_cert_types.cc
|
| +++ b/net/cert/x509_cert_types.cc
|
| @@ -23,8 +23,8 @@ namespace {
|
| // untouched otherwise. Returns the parsed integer.
|
| int ParseIntAndAdvance(const char** field, size_t field_len, bool* ok) {
|
| int result = 0;
|
| - *ok &=
|
| - ParseNonNegativeDecimalInt(base::StringPiece(*field, field_len), &result);
|
| + *ok &= ParseInt32(base::StringPiece(*field, field_len),
|
| + ParseIntFormat::NON_NEGATIVE, &result);
|
| *field += field_len;
|
| return result;
|
| }
|
|
|