Index: chrome/browser/browsing_data/browsing_data_remover.cc |
diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc |
index 1e39f5819e3611aab2b4b0260331ad12ce5e6ba8..b7b4299fa4b4e7d50d597fab3f872b5f24336e8f 100644 |
--- a/chrome/browser/browsing_data/browsing_data_remover.cc |
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc |
@@ -899,16 +899,16 @@ void BrowsingDataRemover::DoClearCache(int rv) { |
(next_cache_state_ == STATE_CREATE_MAIN) |
? main_context_getter_.get() |
: media_context_getter_.get(); |
- net::HttpTransactionFactory* factory = |
- getter->GetURLRequestContext()->http_transaction_factory(); |
- |
- // Clear QUIC server information from memory. |
- net::HttpCache* http_cache = factory->GetCache(); |
- http_cache->GetSession()->quic_stream_factory()->ClearCachedStates(); |
+ net::HttpCache* http_cache = |
+ getter->GetURLRequestContext()->http_transaction_factory()-> |
+ GetCache(); |
next_cache_state_ = (next_cache_state_ == STATE_CREATE_MAIN) ? |
STATE_DELETE_MAIN : STATE_DELETE_MEDIA; |
+ // Clear QUIC server information from memory and the disk cache. |
+ http_cache->GetSession()->quic_stream_factory()-> |
+ ClearCachedStatesInCryptoConfig(); |
rv = http_cache->GetBackend( |
&cache_, base::Bind(&BrowsingDataRemover::DoClearCache, |
base::Unretained(this))); |