Chromium Code Reviews| Index: chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm |
| diff --git a/chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm b/chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm |
| index 58390dae94010d643ac194533aea728b2c0d9174..b9f38ebff29e38d3f2c8bf89093de2e2f67118c5 100644 |
| --- a/chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm |
| +++ b/chrome/browser/ui/cocoa/browser/zoom_bubble_controller.mm |
| @@ -4,6 +4,7 @@ |
| #include "chrome/browser/ui/cocoa/browser/zoom_bubble_controller.h" |
| +#include "base/i18n/number_formatting.h" |
| #include "base/mac/foundation_util.h" |
| #include "base/strings/string_number_conversions.h" |
| #import "chrome/browser/ui/cocoa/info_bubble_view.h" |
|
tapted
2016/05/19 03:08:42
insert `#include "base/strings/sys_string_conversi
Greg Levin
2016/05/19 15:42:13
Done. Thanks!!
|
| @@ -147,8 +148,7 @@ void SetZoomBubbleAutoCloseDelayForTesting(NSTimeInterval time_interval) { |
| return; |
| int percent = zoomController->GetZoomPercent(); |
| - NSString* string = |
| - l10n_util::GetNSStringF(IDS_ZOOM_PERCENT, base::IntToString16(percent)); |
| + NSString* string = base::SysUTF16ToNSString(base::FormatPercent(percent)); |
| [zoomPercent_ setAttributedStringValue: |
| [self attributedStringWithString:string |
| fontSize:kTextFontSize]]; |