diff options
Diffstat (limited to 'net/disk_cache/mem_entry_impl.cc')
-rw-r--r-- | net/disk_cache/mem_entry_impl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/disk_cache/mem_entry_impl.cc b/net/disk_cache/mem_entry_impl.cc index 9df7306..f1267ce 100644 --- a/net/disk_cache/mem_entry_impl.cc +++ b/net/disk_cache/mem_entry_impl.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-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. @@ -107,7 +107,7 @@ void MemEntryImpl::Open() { // counting to child entry. DCHECK(type() == kParentEntry); ref_count_++; - DCHECK(ref_count_ >= 0); + DCHECK_GE(ref_count_, 0); DCHECK(!doomed_); } @@ -141,7 +141,7 @@ void MemEntryImpl::Close() { // Only a parent entry can be closed. DCHECK(type() == kParentEntry); ref_count_--; - DCHECK(ref_count_ >= 0); + DCHECK_GE(ref_count_, 0); if (!ref_count_ && doomed_) InternalDoom(); } |