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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.cc

Issue 7552026: Convert ToolbarModel::GetEVCertName() from wstring to string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 | « chrome/browser/ui/toolbar/toolbar_model.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
index b9af06fbd076afd4829949e332448cb96ff1a236..f15d5c904c0153a4b6206957a29fa8afeb717425 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -491,7 +491,7 @@ void LocationBarView::Layout() {
entry_width -= (kEdgeThickness + kEdgeEditPadding);
} else if (model_->GetSecurityLevel() == ToolbarModel::EV_SECURE) {
ev_bubble_view_->SetVisible(true);
- ev_bubble_view_->SetLabel(model_->GetEVCertName());
+ ev_bubble_view_->SetLabel(UTF16ToWideHack(model_->GetEVCertName()));
ev_bubble_width = ev_bubble_view_->GetPreferredSize().width();
// We'll adjust this width and take it out of |entry_width| below.
} else {
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_model.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698