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 96339696039078aba5af584c09e55341c9f572d6..8ebc3716cc65291553352d2220491c62edb64fe2 100644 |
--- a/chrome/browser/predictors/resource_prefetch_predictor.cc |
+++ b/chrome/browser/predictors/resource_prefetch_predictor.cc |
@@ -246,8 +246,8 @@ bool ResourcePrefetchPredictor::IsCacheable(const net::URLRequest* response) { |
return false; |
base::Time response_time(response_info.response_time); |
response_time += base::TimeDelta::FromSeconds(1); |
- base::TimeDelta freshness = response_info.headers->GetFreshnessLifetime( |
- response_time); |
+ base::TimeDelta freshness = |
+ response_info.headers->GetFreshnessLifetimes(response_time).fresh; |
return freshness > base::TimeDelta(); |
} |