| Index: chrome/browser/predictors/resource_prefetch_predictor.cc
|
| diff --git a/chrome/browser/predictors/resource_prefetch_predictor.cc b/chrome/browser/predictors/resource_prefetch_predictor.cc
|
| index 310aee33cba2aefca6426ed4ebebcee7525621eb..f333d10b6f92ae13d5899553915b79ee16ee6edd 100644
|
| --- a/chrome/browser/predictors/resource_prefetch_predictor.cc
|
| +++ b/chrome/browser/predictors/resource_prefetch_predictor.cc
|
| @@ -715,7 +715,7 @@ void ResourcePrefetchPredictor::CleanupAbandonedNavigations(
|
| base::TimeTicks time_now = base::TimeTicks::Now();
|
| for (NavigationMap::iterator it = inflight_navigations_.begin();
|
| it != inflight_navigations_.end();) {
|
| - if (it->first.IsSameRenderer(navigation_id) ||
|
| + if ((it->first.tab_id == navigation_id.tab_id) ||
|
| (time_now - it->first.creation_time > max_navigation_age)) {
|
| inflight_navigations_.erase(it++);
|
| } else {
|
|
|