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 d0b02a23f78ce0e8ef9c78a3566ea36f35e183f5..0a377d15bcdca3e02c9e39c209ae198a2df40b39 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(); |
} |