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 8ca0a7ff54a26b564b48753ff688d341d9c5ddce..d37a75172a701ad6b6e9c92ad98cfd4f792f8195 100644 |
--- a/base/i18n/build_utf8_validator_tables.cc |
+++ b/base/i18n/build_utf8_validator_tables.cc |
@@ -248,12 +248,12 @@ void MoveAllCharsToSets(PairVector* pairs) { |
for (int i = 0; i < 4; ++i) { |
MoveRightMostCharToSet(pairs); |
} |
- if (DCHECK_IS_ON()) { |
- for (PairVector::const_iterator it = pairs->begin(); it != pairs->end(); |
- ++it) { |
- DCHECK(it->character.empty()); |
- } |
+#if DCHECK_IS_ON |
+ for (PairVector::const_iterator it = pairs->begin(); it != pairs->end(); |
+ ++it) { |
+ DCHECK(it->character.empty()); |
} |
+#endif |
} |
// Logs the generated string sets in regular-expression style, ie. [\x00-\x7f], |