| Index: ui/views/controls/button/custom_button.cc
|
| diff --git a/ui/views/controls/button/custom_button.cc b/ui/views/controls/button/custom_button.cc
|
| index 5bcd0c907fc2107e111dbfafed4adb36e43843ef..19c7f0125c18c7cbe045f07de71bb44efbf586c1 100644
|
| --- a/ui/views/controls/button/custom_button.cc
|
| +++ b/ui/views/controls/button/custom_button.cc
|
| @@ -365,7 +365,8 @@ SkColor CustomButton::GetInkDropBaseColor() const {
|
| // CustomButton, gfx::AnimationDelegate implementation:
|
|
|
| void CustomButton::AnimationProgressed(const gfx::Animation* animation) {
|
| - SchedulePaint();
|
| + if (animates_hover())
|
| + SchedulePaint();
|
| }
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|