diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 07:41:11 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 07:41:11 +0000 |
commit | e06bea6b74ea15f23acf726ea64b722b4ad549ff (patch) | |
tree | 66cea36bad850bb969aeb5a8a9a102eb2b4fbdaf /chrome/browser | |
parent | 96f766b47eaade693c4df32420a79400327e1204 (diff) | |
download | chromium_src-e06bea6b74ea15f23acf726ea64b722b4ad549ff.zip chromium_src-e06bea6b74ea15f23acf726ea64b722b4ad549ff.tar.gz chromium_src-e06bea6b74ea15f23acf726ea64b722b4ad549ff.tar.bz2 |
Fix compile problem. TBR=brettw
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61155 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/views/wrench_menu.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/views/wrench_menu.cc b/chrome/browser/views/wrench_menu.cc index e145f0e..2aa4b9b 100644 --- a/chrome/browser/views/wrench_menu.cc +++ b/chrome/browser/views/wrench_menu.cc @@ -500,8 +500,7 @@ class WrenchMenu::ZoomView : public ScheduleAllView, max_w = std::max(w, max_w); } } else { - int max_w = - font.GetStringWidth(l10n_util::GetStringF(IDS_ZOOM_PERCENT, 100)); + max_w = font.GetStringWidth(l10n_util::GetStringF(IDS_ZOOM_PERCENT, 100)); } return max_w + insets.width(); |