diff options
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_cache_transaction.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc index 7c5b09d..9af0c83 100644 --- a/net/http/http_cache_transaction.cc +++ b/net/http/http_cache_transaction.cc @@ -1516,7 +1516,7 @@ int HttpCache::Transaction::BeginCacheValidation() { cache_->ConvertWriterToReader(entry_); mode_ = READ; - if (entry_->disk_entry->GetDataSize(kMetadataIndex)) + if (entry_ && entry_->disk_entry->GetDataSize(kMetadataIndex)) next_state_ = STATE_CACHE_READ_METADATA; } else { // Make the network request conditional, to see if we may reuse our cached |