summaryrefslogtreecommitdiffstats
path: root/ui/base/cocoa/menu_controller.mm
diff options
context:
space:
mode:
authordbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-30 21:43:00 +0000
committerdbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-30 21:43:00 +0000
commitf527d9cdabd11282598dc769fa32ed9490c877d9 (patch)
tree3387e648f4cf2b95402a68fef36f60d1738752ff /ui/base/cocoa/menu_controller.mm
parent42303816401b4b75fb221c6e59d423fd2ec32f5d (diff)
downloadchromium_src-f527d9cdabd11282598dc769fa32ed9490c877d9.zip
chromium_src-f527d9cdabd11282598dc769fa32ed9490c877d9.tar.gz
chromium_src-f527d9cdabd11282598dc769fa32ed9490c877d9.tar.bz2
Remove 'using base::string16;' from base/strings/string16.h and remove temporary
PRESUBMIT.py _CheckForString16(). R=brettw@chromium.org, maruel@chromium.org TBR=sky@chromium.org, tsepez@chromium.org BUG=329295 Review URL: https://codereview.chromium.org/93903011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242733 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/cocoa/menu_controller.mm')
-rw-r--r--ui/base/cocoa/menu_controller.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/base/cocoa/menu_controller.mm b/ui/base/cocoa/menu_controller.mm
index 787f171..8f03d0f 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);