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

Unified Diff: base/strings/string_split.cc

Issue 1215933004: New new versions of Starts/EndsWith and SplitString in net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@starts_with
Patch Set: Created 5 years, 5 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/strings/string_util.h » ('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 e23ce3fa039a087b3cd902aab55a18520599d9ae..cc62a6f4b47a1a03d7fce6947c70590f59fc55eb 100644
--- a/base/strings/string_split.cc
+++ b/base/strings/string_split.cc
@@ -230,7 +230,6 @@ void SplitString(const std::string& str,
// Backward-compat hack, see above.
if (result->size() == 1 && (*result)[0].empty())
result->clear();
-
}
bool SplitStringIntoKeyValuePairs(const std::string& line,
« no previous file with comments | « no previous file | base/strings/string_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698