summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
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