Index: views/window/dialog_client_view.cc |
=================================================================== |
--- views/window/dialog_client_view.cc (revision 86085) |
+++ views/window/dialog_client_view.cc (working copy) |
@@ -139,7 +139,7 @@ |
ok_button_ = new DialogButton(this, window(), |
MessageBoxFlags::DIALOGBUTTON_OK, label, |
is_default_button); |
- ok_button_->SetGroup(kButtonGroup); |
+ ok_button_->set_group(kButtonGroup); |
if (is_default_button) |
default_button_ = ok_button_; |
if (!(buttons & MessageBoxFlags::DIALOGBUTTON_CANCEL)) |
@@ -163,7 +163,7 @@ |
cancel_button_ = new DialogButton(this, window(), |
MessageBoxFlags::DIALOGBUTTON_CANCEL, |
label, is_default_button); |
- cancel_button_->SetGroup(kButtonGroup); |
+ cancel_button_->set_group(kButtonGroup); |
cancel_button_->AddAccelerator(Accelerator(ui::VKEY_ESCAPE, |
false, false, false)); |
if (is_default_button) |
@@ -531,7 +531,7 @@ |
View* extra_view = GetDialogDelegate()->GetExtraView(); |
if (extra_view && !extra_view_) { |
extra_view_ = extra_view; |
- extra_view_->SetGroup(kButtonGroup); |
+ extra_view_->set_group(kButtonGroup); |
AddChildView(extra_view_); |
size_extra_view_height_to_buttons_ = |
GetDialogDelegate()->GetSizeExtraViewHeightToButtons(); |