Chromium Code Reviews| Index: net/base/sdch_manager.cc |
| diff --git a/net/base/sdch_manager.cc b/net/base/sdch_manager.cc |
| index 435977237d83d4856008b9c442bf3946f3c36091..20dd1d247a2e634a60eee86896f4099a1c304d8f 100644 |
| --- a/net/base/sdch_manager.cc |
| +++ b/net/base/sdch_manager.cc |
| @@ -382,7 +382,7 @@ SdchProblemCode SdchManager::AddSdchDictionary( |
| expiration = base::Time::Now() + base::TimeDelta::FromSeconds(seconds); |
| } else if (name == "port") { |
| int port; |
| - if (ParseNonNegativeDecimalInt(value, &port)) |
| + if (ParseIntegerBase10(value, ParseInteger::DISALLOW_NEGATIVE, &port)) |
| ports.insert(port); |
|
eroman
2016/03/25 17:08:09
Side-observation: This is currently weird in that
mmenke
2016/03/25 17:36:32
I'm actually not sure that's the right behavior...
|
| } |
| } |