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

Unified Diff: chrome/browser/ui/views/page_info_bubble_view.cc

Issue 6088008: Remove wstring from l10n_util. Part 7.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/ui/views/page_info_bubble_view.cc
===================================================================
--- chrome/browser/ui/views/page_info_bubble_view.cc (revision 70562)
+++ chrome/browser/ui/views/page_info_bubble_view.cc (working copy)
@@ -154,8 +154,8 @@
// Then add the help center link at the bottom.
layout->StartRow(0, 1);
- help_center_link_ =
- new views::Link(l10n_util::GetString(IDS_PAGE_INFO_HELP_CENTER_LINK));
+ help_center_link_ = new views::Link(
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_PAGE_INFO_HELP_CENTER_LINK)));
help_center_link_->SetController(this);
layout->AddView(help_center_link_);
}
@@ -254,7 +254,7 @@
if (info_.type == PageInfoModel::SECTION_INFO_IDENTITY && show_cert) {
link_ = new views::Link(
- l10n_util::GetString(IDS_PAGEINFO_CERT_INFO_BUTTON));
+ UTF16ToWide(l10n_util::GetStringUTF16(IDS_PAGEINFO_CERT_INFO_BUTTON)));
link_->SetController(this);
AddChildView(link_);
}

Powered by Google App Engine
This is Rietveld 408576698