Index: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm |
diff --git a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm |
index 661dd491647c91cb7ffd5071286a5d184a56d485..fc1a971fce74e89f5dd9ae09db74fc0baa8e8663 100644 |
--- a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm |
+++ b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm |
@@ -91,7 +91,7 @@ CGFloat EVBubbleDecoration::GetWidthForSpace(CGFloat width) { |
// Middle-elide the label to fit |width_left|. This leaves the |
// prefix and the trailing country code in place. |
- gfx::Font font(base::SysNSStringToUTF16([font_ fontName]), |
+ gfx::Font font(base::SysNSStringToUTF8([font_ fontName]), |
[font_ pointSize]); |
NSString* elided_label = base::SysUTF16ToNSString( |
ui::ElideText(base::SysNSStringToUTF16(full_label_), font, width_left, |