Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: base/i18n/build_utf8_validator_tables.cc

Issue 842523002: base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheck2: withoutandroidchange Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/i18n/build_utf8_validator_tables.cc
diff --git a/base/i18n/build_utf8_validator_tables.cc b/base/i18n/build_utf8_validator_tables.cc
index 647c8d682f5da6326a3c0a8f5d9f5b14edc493f0..ae5b1a71e9df2ad961d4f56dcf12f4ef49f73af9 100644
--- a/base/i18n/build_utf8_validator_tables.cc
+++ b/base/i18n/build_utf8_validator_tables.cc
@@ -248,7 +248,7 @@ void MoveAllCharsToSets(PairVector* pairs) {
for (int i = 0; i < 4; ++i) {
MoveRightMostCharToSet(pairs);
}
-#if DCHECK_IS_ON
+#if DCHECK_IS_ON()
for (PairVector::const_iterator it = pairs->begin(); it != pairs->end();
++it) {
DCHECK(it->character.empty());

Powered by Google App Engine
This is Rietveld 408576698