summaryrefslogtreecommitdiffstats
path: root/base/path_service.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 20:34:25 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-31 20:34:25 +0000
commit8e03fec1b3cc0dd2e6f25cf943914e9e760b187a (patch)
tree496c8a1b46ee18a7ce7537539c5d207e4bf5396f /base/path_service.cc
parent2fc8f49dff31f79bff73b3491f3d07c8a0dfb9d5 (diff)
downloadchromium_src-8e03fec1b3cc0dd2e6f25cf943914e9e760b187a.zip
chromium_src-8e03fec1b3cc0dd2e6f25cf943914e9e760b187a.tar.gz
chromium_src-8e03fec1b3cc0dd2e6f25cf943914e9e760b187a.tar.bz2
Use DCHECK_GE() where possible in base/. Patch by Kushal Pisavadia (see http://codereview.chromium.org/6688056/ ), r=me.
BUG=58409 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/path_service.cc')
-rw-r--r--base/path_service.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/path_service.cc b/base/path_service.cc
index 1262f68..e72ae7d 100644
--- a/base/path_service.cc
+++ b/base/path_service.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 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.
@@ -171,7 +171,7 @@ bool PathService::Get(int key, FilePath* result) {
PathData* path_data = GetPathData();
DCHECK(path_data);
DCHECK(result);
- DCHECK(key >= base::DIR_CURRENT);
+ DCHECK_GE(key, base::DIR_CURRENT);
// special case the current directory because it can never be cached
if (key == base::DIR_CURRENT)