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

Unified Diff: base/strings/string_split.cc

Issue 1081493002: base/test/launcher: don't trim leading whitespace from test output (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lucasfix
Patch Set: Remove UTF8 DCHECK from SplitStringDontTrim Created 5 years, 8 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
« no previous file with comments | « no previous file | base/test/launcher/test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | base/test/launcher/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698