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

Unified Diff: chrome/browser/search_engines/template_url_service.cc

Issue 176843022: Move UTF16ToASCII, remove WideToASCII. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
Index: chrome/browser/search_engines/template_url_service.cc
diff --git a/chrome/browser/search_engines/template_url_service.cc b/chrome/browser/search_engines/template_url_service.cc
index 1e107b0f0a6df70ef4f94eb11fe78f68c04575d2..91704e0a415f97a6e5d32a68e19a5b4cef3e2762 100644
--- a/chrome/browser/search_engines/template_url_service.cc
+++ b/chrome/browser/search_engines/template_url_service.cc
@@ -216,7 +216,7 @@ void LogDuplicatesHistogram(
std::map<std::string, int> duplicates;
for (TemplateURLService::TemplateURLVector::const_iterator it =
template_urls.begin(); it != template_urls.end(); ++it) {
- std::string keyword = UTF16ToASCII((*it)->keyword());
+ std::string keyword = base::UTF16ToASCII((*it)->keyword());
base::TrimString(keyword, "_", &keyword);
duplicates[keyword]++;
}
« no previous file with comments | « chrome/browser/search_engines/template_url_parser.cc ('k') | chrome/browser/sync/test/integration/search_engines_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698