| 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 28d570ca325dbd5899da9728f7df0f1f635b05d4..612ddd02dff6de60c5e3aaecf9778564ce795d71 100644
|
| --- a/ui/views/controls/button/custom_button.cc
|
| +++ b/ui/views/controls/button/custom_button.cc
|
| @@ -47,6 +47,8 @@ void CustomButton::SetState(ButtonState state) {
|
|
|
| state_ = state;
|
| StateChanged();
|
| + if (state_changed_delegate_.get())
|
| + state_changed_delegate_->StateChanged(state_);
|
| SchedulePaint();
|
| }
|
|
|
|
|