diff options
author | oshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 21:29:56 +0000 |
---|---|---|
committer | oshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-09 21:29:56 +0000 |
commit | 43162fc69612c9824547ca9edb05a308c7c1737c (patch) | |
tree | fa1dac372e46f8b074e1521a0e175231ffff7ae2 /views/controls | |
parent | e0b231d3878b5351b1e643a2d746b733e3a5e13d (diff) | |
download | chromium_src-43162fc69612c9824547ca9edb05a308c7c1737c.zip chromium_src-43162fc69612c9824547ca9edb05a308c7c1737c.tar.gz chromium_src-43162fc69612c9824547ca9edb05a308c7c1737c.tar.bz2 |
Delete Obsolete PaintNow method
This seems to be doing nothing now.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6969005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls')
-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(); |