summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/http/http_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_cache.cc b/net/http/http_cache.cc
index 336a0bd..f629243 100644
--- a/net/http/http_cache.cc
+++ b/net/http/http_cache.cc
@@ -732,7 +732,7 @@ bool HttpCache::Transaction::RequiresValidation() {
// - make sure we have a matching request method
// - watch out for cached responses that depend on authentication
// In playback mode, nothing requires validation.
- if (mode_ == net::HttpCache::PLAYBACK)
+ if (cache_->mode() == net::HttpCache::PLAYBACK)
return false;
if (effective_load_flags_ & LOAD_VALIDATE_CACHE)