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

Unified Diff: chrome/browser/ui/webui/version_handler.cc

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: chrome/browser/ui/webui/version_handler.cc
diff --git a/chrome/browser/ui/webui/version_handler.cc b/chrome/browser/ui/webui/version_handler.cc
index 638ff0b7cb379635dee51ad6e352a079511429ed..b46de41f62ef58bd55284aced999ed78674e5606 100644
--- a/chrome/browser/ui/webui/version_handler.cc
+++ b/chrome/browser/ui/webui/version_handler.cc
@@ -96,7 +96,7 @@ void VersionHandler::HandleRequestVersionInfo(const ListValue* args) {
for (size_t i = 0; i < active_groups.size(); ++i) {
std::string line = active_groups[i].trial_name + ":" +
active_groups[i].group_name;
- ReplaceChars(line, "-", kNonBreakingHyphenUTF8String, &line);
+ base::ReplaceChars(line, "-", kNonBreakingHyphenUTF8String, &line);
variations.push_back(line);
}
#else

Powered by Google App Engine
This is Rietveld 408576698