Index: ui/views/controls/menu/menu_separator_win.cc |
diff --git a/ui/views/controls/menu/menu_separator_win.cc b/ui/views/controls/menu/menu_separator_win.cc |
index 87d0a2bb2e779317af1fb97e6048e09aaf16d090..ccbcaed263e88b1910e3d9f2a1d38f81153eb5ff 100644 |
--- a/ui/views/controls/menu/menu_separator_win.cc |
+++ b/ui/views/controls/menu/menu_separator_win.cc |
@@ -47,7 +47,7 @@ void MenuSeparator::OnPaint(gfx::Canvas* canvas) { |
ui::NativeTheme::kNormal, separator_bounds, extra); |
} |
-gfx::Size MenuSeparator::GetPreferredSize() { |
+gfx::Size MenuSeparator::GetPreferredSize() const { |
const MenuConfig& config = parent_menu_item_->GetMenuConfig(); |
if (config.native_theme == ui::NativeThemeAura::instance()) |