Chromium Code Reviews| Index: base/strings/string_split.cc |
| diff --git a/base/strings/string_split.cc b/base/strings/string_split.cc |
| index 692f3008e7827cf9b57a25a58d8e74509f92b373..88a623664fcc1c256de60c110c3186ecc0034885 100644 |
| --- a/base/strings/string_split.cc |
| +++ b/base/strings/string_split.cc |
| @@ -6,7 +6,6 @@ |
| #include "base/logging.h" |
| #include "base/strings/string_util.h" |
| -#include "base/strings/utf_string_conversions.h" |
| #include "base/third_party/icu/icu_utf.h" |
| namespace base { |
| @@ -193,7 +192,6 @@ void SplitStringDontTrim(const string16& str, |
| void SplitStringDontTrim(const std::string& str, |
| char c, |
| std::vector<std::string>* r) { |
| - DCHECK(IsStringUTF8(str)); |
|
Nico
2015/04/16 17:05:24
This change looks both unrelated and incorrect. (`
ncarter (slow)
2015/04/16 18:08:00
"only work for UTF-8" as opposed to what?
Did you
ncarter (slow)
2015/04/16 18:08:50
And oh, to understand the relationship: see the fa
|
| #if CHAR_MIN < 0 |
| DCHECK_GE(c, 0); |
| #endif |