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

Unified Diff: chrome/browser/google/google_util.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/google/google_util.cc
diff --git a/chrome/browser/google/google_util.cc b/chrome/browser/google/google_util.cc
index 50ae223dc9c8acc9da8d9e0266c2c40a554009dd..53c462678eb6eebccd3850a3115c5f49474f7bd0 100644
--- a/chrome/browser/google/google_util.cc
+++ b/chrome/browser/google/google_util.cc
@@ -139,7 +139,7 @@ bool GetBrand(std::string* brand) {
base::string16 brand16;
bool ret = GoogleUpdateSettings::GetBrand(&brand16);
if (ret)
- brand->assign(WideToASCII(brand16));
+ brand->assign(base::UTF16ToASCII(brand16));
return ret;
}
@@ -147,7 +147,7 @@ bool GetReactivationBrand(std::string* brand) {
base::string16 brand16;
bool ret = GoogleUpdateSettings::GetReactivationBrand(&brand16);
if (ret)
- brand->assign(WideToASCII(brand16));
+ brand->assign(base::UTF16ToASCII(brand16));
return ret;
}
« no previous file with comments | « chrome/browser/file_select_helper.cc ('k') | chrome/browser/media_galleries/media_galleries_dialog_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698