| 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 5b65adb73bd38ba535d53ede80659b3e87565d14..1d5c1f25205e8ee38974ce59cc944d2c7034ff41 100644
|
| --- a/ui/views/window/dialog_client_view.cc
|
| +++ b/ui/views/window/dialog_client_view.cc
|
| @@ -213,10 +213,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;
|
| }
|
|
|