| Index: ui/views/controls/button/label_button.cc
|
| diff --git a/ui/views/controls/button/label_button.cc b/ui/views/controls/button/label_button.cc
|
| index 8a08d245405e5f50f667134abc67dd06f3fe477b..ae8f4d879a1848189a72e5b9dc8c2e0caa8f7722 100644
|
| --- a/ui/views/controls/button/label_button.cc
|
| +++ b/ui/views/controls/button/label_button.cc
|
| @@ -111,7 +111,7 @@ gfx::HorizontalAlignment LabelButton::GetHorizontalAlignment() const {
|
|
|
| void LabelButton::SetHorizontalAlignment(gfx::HorizontalAlignment alignment) {
|
| label_->SetHorizontalAlignment(alignment);
|
| - InvalidateLayout();
|
| + Layout();
|
| }
|
|
|
| void LabelButton::SetIsDefault(bool is_default) {
|
| @@ -152,7 +152,7 @@ void LabelButton::SetStyle(ButtonStyle style) {
|
| label_->SetShadowOffset(0, 1);
|
| }
|
| // Invalidate the layout to pickup the new insets from the border.
|
| - InvalidateLayout();
|
| + Layout();
|
| ResetColorsFromNativeTheme();
|
| }
|
|
|
|
|