Index: net/http/http_cache.cc |
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc |
index 519f192396b2ba8e070e8de497863720d74f52b3..bdb6cc5dd78ca7810b0a7a10ac4f43228c0cc779 100644 |
--- a/net/http/http_cache.cc |
+++ b/net/http/http_cache.cc |
@@ -336,6 +336,7 @@ HttpCache::HttpCache(std::unique_ptr<HttpTransactionFactory> network_layer, |
} |
HttpCache::~HttpCache() { |
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); |
// Transactions should see an invalid cache after this point; otherwise they |
// could see an inconsistent object (half destroyed). |
weak_factory_.InvalidateWeakPtrs(); |