summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-13 22:13:33 +0000
committerkushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-13 22:13:33 +0000
commit88563f68ec16520622e52672f352bee026865557 (patch)
treee7e5dc554372b4bc695a7dad9908732a6f527156 /app
parent6275aa9b9c9237147d7a2dc74a60da5bd68a21ef (diff)
downloadchromium_src-88563f68ec16520622e52672f352bee026865557.zip
chromium_src-88563f68ec16520622e52672f352bee026865557.tar.gz
chromium_src-88563f68ec16520622e52672f352bee026865557.tar.bz2
Continuing with DCHECK() replacement. Switching to DCHECK_GT for better debug of broken contracts
BUG=58409 Review URL: http://codereview.chromium.org/6690002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r--app/sql/connection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/sql/connection.cc b/app/sql/connection.cc
index 0217b4e..003f7b2 100644
--- a/app/sql/connection.cc
+++ b/app/sql/connection.cc
@@ -139,7 +139,7 @@ void Connection::Preload() {
bool Connection::BeginTransaction() {
if (needs_rollback_) {
- DCHECK(transaction_nesting_ > 0);
+ DCHECK_GT(transaction_nesting_, 0);
// When we're going to rollback, fail on this begin and don't actually
// mark us as entering the nested transaction.