Index: base/i18n/streaming_utf8_validator.cc |
diff --git a/base/i18n/streaming_utf8_validator.cc b/base/i18n/streaming_utf8_validator.cc |
index 3838c9512434f74db4169969a101de3be265234c..c809985e168a2c67e2d68af028b9bb1f72c95bb4 100644 |
--- a/base/i18n/streaming_utf8_validator.cc |
+++ b/base/i18n/streaming_utf8_validator.cc |
@@ -15,10 +15,7 @@ namespace base { |
namespace { |
uint8 StateTableLookup(uint8 offset) { |
- // Skip the bounds check on non-debug builds so that it isn't necessary to set |
- // LOGGING_IS_OFFICIAL_BUILD just to do a performance test. |
- if (logging::DEBUG_MODE) |
- DCHECK_LT(offset, internal::kUtf8ValidatorTablesSize); |
+ DCHECK_LT(offset, internal::kUtf8ValidatorTablesSize); |
return internal::kUtf8ValidatorTables[offset]; |
} |