| Index: net/http/http_cache.cc
|
| diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
|
| index a167e3200d5d3b44f1e47f70f9610cf698c14bb9..a34bef1158961bc78c29049ba89e0567990f99c1 100644
|
| --- a/net/http/http_cache.cc
|
| +++ b/net/http/http_cache.cc
|
| @@ -603,7 +603,7 @@ void HttpCache::CloseIdleConnections() {
|
|
|
| void HttpCache::OnExternalCacheHit(const GURL& url,
|
| const std::string& http_method) {
|
| - if (!disk_cache_.get())
|
| + if (!disk_cache_.get() || mode_ == DISABLE)
|
| return;
|
|
|
| HttpRequestInfo request_info;
|
|
|