summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 20:16:12 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-17 20:16:12 +0000
commitac1cb159be2c46cbac6988916ac02e590779e8d0 (patch)
tree93de3a76343cf09372d9ce1080b463051a4e7459 /views
parent0f695a70c914d3acb1c2ec08e4f07f4e4eebccdd (diff)
downloadchromium_src-ac1cb159be2c46cbac6988916ac02e590779e8d0.zip
chromium_src-ac1cb159be2c46cbac6988916ac02e590779e8d0.tar.gz
chromium_src-ac1cb159be2c46cbac6988916ac02e590779e8d0.tar.bz2
Remove some unused temps.
BUG=none TEST=none Review URL: http://codereview.chromium.org/8297006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105889 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/menu/menu_win.cc1
-rw-r--r--views/controls/menu/native_menu_win.cc1
2 files changed, 0 insertions, 2 deletions
diff --git a/views/controls/menu/menu_win.cc b/views/controls/menu/menu_win.cc
index 10d1119..3958c5d 100644
--- a/views/controls/menu/menu_win.cc
+++ b/views/controls/menu/menu_win.cc
@@ -160,7 +160,6 @@ class MenuHostWindow : public ui::WindowImpl {
gfx::Font font;
HGDIOBJ old_font =
static_cast<HFONT>(SelectObject(hDC, font.GetNativeFont()));
- int fontsize = font.GetFontSize();
// If an accelerator is specified (with a tab delimiting the rest of the
// label from the accelerator), we have to justify the fist part on the
diff --git a/views/controls/menu/native_menu_win.cc b/views/controls/menu/native_menu_win.cc
index acab371..891326f 100644
--- a/views/controls/menu/native_menu_win.cc
+++ b/views/controls/menu/native_menu_win.cc
@@ -218,7 +218,6 @@ class NativeMenuWin::MenuHostWindow {
gfx::Font font;
HGDIOBJ old_font =
static_cast<HFONT>(SelectObject(dc, font.GetNativeFont()));
- int fontsize = font.GetFontSize();
// If an accelerator is specified (with a tab delimiting the rest of the
// label from the accelerator), we have to justify the fist part on the