Index: net/http/http_response_headers_unittest.cc |
diff --git a/net/http/http_response_headers_unittest.cc b/net/http/http_response_headers_unittest.cc |
index b6211ce5389fcfefb33259c1f05841c4934bcd7f..09e350ce92d7ae4412846eb5291b23b0c1a14b8a 100644 |
--- a/net/http/http_response_headers_unittest.cc |
+++ b/net/http/http_response_headers_unittest.cc |
@@ -867,7 +867,7 @@ TEST(HttpResponseHeadersTest, RequiresValidation) { |
new net::HttpResponseHeaders(headers)); |
bool requires_validation = |
- parsed->RequiresValidation(request_time, response_time, current_time); |
+ parsed->GetFreshnessExpiry(request_time, response_time) <= current_time; |
EXPECT_EQ(tests[i].requires_validation, requires_validation); |
} |
} |