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

Unified Diff: chrome/browser/ui/views/passwords/credentials_item_view.cc

Issue 954213002: CredentialsItemView should use UTF8ToUTF16 for the hostname. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/passwords/credentials_item_view.cc
diff --git a/chrome/browser/ui/views/passwords/credentials_item_view.cc b/chrome/browser/ui/views/passwords/credentials_item_view.cc
index f5edb543c68309f15bc377ca6fcaa239bbe6f1da..2ecad47d8f02cae801cc19427f81e7842860359c 100644
--- a/chrome/browser/ui/views/passwords/credentials_item_view.cc
+++ b/chrome/browser/ui/views/passwords/credentials_item_view.cc
@@ -53,7 +53,7 @@ base::string16 GetLowerLabelText(const autofill::PasswordForm& form,
if (!form.federation_url.is_empty()) {
return l10n_util::GetStringFUTF16(
IDS_MANAGE_PASSWORDS_IDENTITY_PROVIDER,
- base::ASCIIToUTF16(form.federation_url.host()));
+ base::UTF8ToUTF16(form.federation_url.host()));
}
return form.display_name.empty() ? base::string16() : form.username_value;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698