| 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 eee682637d7989c4cf37fec65aafa7c347b8b6cd..358c81c39120b8afa346769ccd0d77a8c3ee1bc2 100644
|
| --- a/ui/views/window/dialog_client_view.cc
|
| +++ b/ui/views/window/dialog_client_view.cc
|
| @@ -215,10 +215,6 @@ void DialogClientView::Layout() {
|
| bool DialogClientView::AcceleratorPressed(const ui::Accelerator& accelerator) {
|
| DCHECK_EQ(accelerator.key_code(), ui::VKEY_ESCAPE);
|
|
|
| - // If there's a cancel button, it handles escape.
|
| - if (cancel_button_)
|
| - return cancel_button_->AcceleratorPressed(accelerator);
|
| -
|
| GetWidget()->Close();
|
| return true;
|
| }
|
|
|