diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 18:12:06 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-16 18:12:06 +0000 |
commit | 794a627cccdcaa9e8750312868b9396cb6a21ce6 (patch) | |
tree | 886ad193e9c3429eee2c66f9db56dba02cb781f2 /chrome/browser/visitedlink_master.h | |
parent | a1977348be9399722c8ae1eed2ce2c2d4bf8bc07 (diff) | |
download | chromium_src-794a627cccdcaa9e8750312868b9396cb6a21ce6.zip chromium_src-794a627cccdcaa9e8750312868b9396cb6a21ce6.tar.gz chromium_src-794a627cccdcaa9e8750312868b9396cb6a21ce6.tar.bz2 |
Make debug check in visitedlink_master.h more informative
by changing DCHECK to DCHECK_EQ.
We're getting a lot of trouble with this check, and I just received
a report on irc about problems with it even after my last visitedlink
change (r11734). More information in the error message may help.
Review URL: http://codereview.chromium.org/42235
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11743 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink_master.h')
-rw-r--r-- | chrome/browser/visitedlink_master.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/visitedlink_master.h b/chrome/browser/visitedlink_master.h index e1c4fb4..972ce8d 100644 --- a/chrome/browser/visitedlink_master.h +++ b/chrome/browser/visitedlink_master.h @@ -392,7 +392,7 @@ inline void VisitedLinkMaster::DebugValidate() { if (hash_table_[i]) used_count++; } - DCHECK(used_count == used_items_); + DCHECK_EQ(used_count, used_items_); } #endif |