| Index: chrome/browser/net/predictor.cc
|
| diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
|
| index 72266b380b2840a4891eb675bc08d1b063f435e1..04a7ec424755251c1665b05010142ccdded3b0d3 100644
|
| --- a/chrome/browser/net/predictor.cc
|
| +++ b/chrome/browser/net/predictor.cc
|
| @@ -269,13 +269,12 @@ std::vector<GURL> Predictor::GetPredictedUrlListAtStartup(
|
| if (startup_list) {
|
| base::ListValue::const_iterator it = startup_list->begin();
|
| int format_version = -1;
|
| - if (it != startup_list->end() &&
|
| - (*it)->GetAsInteger(&format_version) &&
|
| + if (it != startup_list->end() && it->GetAsInteger(&format_version) &&
|
| format_version == kPredictorStartupFormatVersion) {
|
| ++it;
|
| for (; it != startup_list->end(); ++it) {
|
| std::string url_spec;
|
| - if (!(*it)->GetAsString(&url_spec)) {
|
| + if (!it->GetAsString(&url_spec)) {
|
| LOG(DFATAL);
|
| break; // Format incompatibility.
|
| }
|
|
|