summaryrefslogtreecommitdiffstats
path: root/net/http/http_cache.cc
diff options
context:
space:
mode:
authormmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 21:22:13 +0000
committermmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 21:22:13 +0000
commit18a77c6de40137c4ae5746b4c4a5aed9b5e54bfb (patch)
treecc757eafda37aa061580d39753def9673c618f6a /net/http/http_cache.cc
parent5bbbe83e5d16ab9445f061deb2b5528801df2f48 (diff)
downloadchromium_src-18a77c6de40137c4ae5746b4c4a5aed9b5e54bfb.zip
chromium_src-18a77c6de40137c4ae5746b4c4a5aed9b5e54bfb.tar.gz
chromium_src-18a77c6de40137c4ae5746b4c4a5aed9b5e54bfb.tar.bz2
Use the right mode in HttpCache::Transaction::RequiresValidation
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1107 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_cache.cc')
-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)