diff options
Diffstat (limited to 'views/controls/button/menu_button.cc')
-rw-r--r-- | views/controls/button/menu_button.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/views/controls/button/menu_button.cc b/views/controls/button/menu_button.cc index 3451434..353205d 100644 --- a/views/controls/button/menu_button.cc +++ b/views/controls/button/menu_button.cc @@ -74,11 +74,6 @@ MenuButton::~MenuButton() { bool MenuButton::Activate() { SetState(BS_PUSHED); - // We need to synchronously paint here because subsequently we enter a - // menu modal loop which will stop this window from updating and - // receiving the paint message that should be spawned by SetState until - // after the menu closes. - PaintNow(); if (menu_delegate_) { gfx::Rect lb = GetLocalBounds(); |