summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/backend_impl.cc')
-rw-r--r--net/disk_cache/backend_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 16e1a76..fc64f9bd 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -808,7 +808,7 @@ bool BackendImpl::SetMaxSize(int max_bytes) {
}
void BackendImpl::SetType(net::CacheType type) {
- DCHECK(type != net::MEMORY_CACHE);
+ DCHECK_NE(net::MEMORY_CACHE, type);
cache_type_ = type;
}
@@ -933,7 +933,7 @@ void BackendImpl::RemoveEntry(EntryImpl* entry) {
if (!new_eviction_)
return;
- DCHECK(ENTRY_NORMAL != entry->entry()->Data()->state);
+ DCHECK_NE(ENTRY_NORMAL, entry->entry()->Data()->state);
Trace("Remove entry 0x%p", entry);
eviction_.OnDestroyEntry(entry);