| 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 72f550eb946a42fcff299ff472a7858967aa6af7..ef10fc4a4529e79c0c438c63df713c387b516218 100644
|
| --- a/ui/views/window/dialog_client_view.cc
|
| +++ b/ui/views/window/dialog_client_view.cc
|
| @@ -146,11 +146,6 @@ const DialogClientView* DialogClientView::AsDialogClientView() const {
|
|
|
| void DialogClientView::OnWillChangeFocus(View* focused_before,
|
| View* focused_now) {
|
| - // New style dialogs do not move the default button with the focus.
|
| - // TODO(msw|wittman): Remove this functionality once the new style has landed.
|
| - if (DialogDelegate::UseNewStyle())
|
| - return;
|
| -
|
| // Make the newly focused button default or restore the dialog's default.
|
| const int default_button = GetDialogDelegate()->GetDefaultDialogButton();
|
| LabelButton* new_default_button = NULL;
|
|
|