Index: net/http/http_cache_unittest.cc |
diff --git a/net/http/http_cache_unittest.cc b/net/http/http_cache_unittest.cc |
index d186b9905b88fdd08177582a83c86b83b5d290a6..9bfd80d839f666555d8bd85561b20581e5f276c9 100644 |
--- a/net/http/http_cache_unittest.cc |
+++ b/net/http/http_cache_unittest.cc |
@@ -6078,9 +6078,9 @@ TEST(HttpCache, StopCachingSavesEntry) { |
RemoveMockTransaction(&mock_transaction); |
} |
- // Verify that the entry is marked as incomplete. |
+ // Verify that the entry is inactive (doomed) and marked as incomplete. |
disk_cache::Entry* entry; |
- ASSERT_TRUE(cache.OpenBackendEntry(kSimpleGET_Transaction.url, &entry)); |
+ ASSERT_TRUE(cache.OpenBackendDoomedEntry(kSimpleGET_Transaction.url, &entry)); |
net::HttpResponseInfo response; |
bool truncated = false; |
EXPECT_TRUE(MockHttpCache::ReadResponseInfo(entry, &response, &truncated)); |