| Index: views/controls/button/custom_button.cc
|
| diff --git a/views/controls/button/custom_button.cc b/views/controls/button/custom_button.cc
|
| index ffa5a46040d285c707dbc49fcc2338de19fc367f..534c8a4170718ce45615caf0f191f06a56a23122 100644
|
| --- a/views/controls/button/custom_button.cc
|
| +++ b/views/controls/button/custom_button.cc
|
| @@ -20,7 +20,7 @@ CustomButton::~CustomButton() {
|
|
|
| void CustomButton::SetState(ButtonState state) {
|
| if (state != state_) {
|
| - if (animate_on_state_change_ || !hover_animation_->IsAnimating()) {
|
| + if (animate_on_state_change_ || !hover_animation_->is_animating()) {
|
| animate_on_state_change_ = true;
|
| if (state_ == BS_NORMAL && state == BS_HOT) {
|
| // Button is hovered from a normal state, start hover animation.
|
|
|