Index: ui/views/window/dialog_client_view.cc |
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc |
index 8903650d45038bde4601fb5460873bc486ae79c5..d0b9fe39882218300eef88a7409b0a8766ce94ad 100644 |
--- a/ui/views/window/dialog_client_view.cc |
+++ b/ui/views/window/dialog_client_view.cc |
@@ -390,11 +390,11 @@ LabelButton* DialogClientView::CreateDialogButton(ui::DialogButton type) { |
if (GetDialogDelegate()->UseNewStyleForThisDialog() && |
GetDialogDelegate()->GetDefaultDialogButton() == type && |
GetDialogDelegate()->ShouldDefaultButtonBeBlue()) { |
- button = new BlueButton(this, title); |
+ button = new BlueButton(this); |
} else { |
- button = new LabelButton(this, title); |
- button->SetStyle(Button::STYLE_BUTTON); |
+ button = new LabelButton(this); |
} |
+ button->InitAsButton(title); |
button->SetFocusable(true); |
const int kDialogMinButtonWidth = 75; |