Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: net/http/http_cache_transaction.cc

Issue 7253017: Revert 90625 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Change NOTREACHED to DCHECK_EQ Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/base/decompressor_zlib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache_transaction.cc
diff --git a/net/http/http_cache_transaction.cc b/net/http/http_cache_transaction.cc
index 9af0c83720d88292039da51d2f74ca25159907d0..7c5b09d5d4d10f7687f3d617e6663d116a12f6e0 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_ && entry_->disk_entry->GetDataSize(kMetadataIndex))
+ if (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
« no previous file with comments | « no previous file | remoting/base/decompressor_zlib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698