| Index: ui/base/cocoa/menu_controller.mm
|
| diff --git a/ui/base/cocoa/menu_controller.mm b/ui/base/cocoa/menu_controller.mm
|
| index 787f1710274672d9abcb98883fe6aea1a1ddef89..8f03d0fc9a96855f42841b5f92eb6d6050ea5ee9 100644
|
| --- a/ui/base/cocoa/menu_controller.mm
|
| +++ b/ui/base/cocoa/menu_controller.mm
|
| @@ -25,8 +25,8 @@
|
| @synthesize model = model_;
|
| @synthesize useWithPopUpButtonCell = useWithPopUpButtonCell_;
|
|
|
| -+ (string16)elideMenuTitle:(const base::string16&)title
|
| - toWidth:(int)width {
|
| ++ (base::string16)elideMenuTitle:(const base::string16&)title
|
| + toWidth:(int)width {
|
| NSFont* nsfont = [NSFont menuBarFontOfSize:0]; // 0 means "default"
|
| return gfx::ElideText(title, gfx::FontList(gfx::Font(nsfont)), width,
|
| gfx::ELIDE_AT_END);
|
|
|