| Index: net/http/http_cache_transaction.cc
|
| diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
|
| index 15ad924df8f846599166ad663f6c01d3b3dbe94c..82f2620a64efa3e17e43d8fa5eae0d5ee6a4d6c0 100644
|
| --- a/net/http/http_cache_transaction.cc
|
| +++ b/net/http/http_cache_transaction.cc
|
| @@ -1995,10 +1995,11 @@ bool HttpCache::Transaction::RequiresValidation() {
|
| if (request_->method == "PUT" || request_->method == "DELETE")
|
| return true;
|
|
|
| - if (response_.headers->RequiresValidation(
|
| - response_.request_time, response_.response_time, Time::Now())) {
|
| + const Time freshness_expiry =
|
| + response_.headers->GetFreshnessExpiry(response_.request_time,
|
| + response_.response_time);
|
| + if (freshness_expiry >= Time::Now())
|
| return true;
|
| - }
|
|
|
| return false;
|
| }
|
|
|