From 18a77c6de40137c4ae5746b4c4a5aed9b5e54bfb Mon Sep 17 00:00:00 2001 From: "mmentovai@google.com" Date: Wed, 20 Aug 2008 21:22:13 +0000 Subject: Use the right mode in HttpCache::Transaction::RequiresValidation git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1107 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.1