diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 00:46:49 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-06 00:46:49 +0000 |
commit | 5b16b4c5bb3d1d4e7a6202a6964ea0a3ec4ea5f0 (patch) | |
tree | 7cc5d1fd99ee383155775958d4f1c4a0a37449b4 /chrome/views | |
parent | 2971b16e8e5a71f9f7aa5ca3cf32e2dc95e8a40e (diff) | |
download | chromium_src-5b16b4c5bb3d1d4e7a6202a6964ea0a3ec4ea5f0.zip chromium_src-5b16b4c5bb3d1d4e7a6202a6964ea0a3ec4ea5f0.tar.gz chromium_src-5b16b4c5bb3d1d4e7a6202a6964ea0a3ec4ea5f0.tar.bz2 |
I meant to say !
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11070 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r-- | chrome/views/dialog_client_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/dialog_client_view.cc b/chrome/views/dialog_client_view.cc index 60da308..6a9977a 100644 --- a/chrome/views/dialog_client_view.cc +++ b/chrome/views/dialog_client_view.cc @@ -311,7 +311,7 @@ bool DialogClientView::AcceleratorPressed(const Accelerator& accelerator) { void DialogClientView::ButtonPressed(NativeButton* sender) { // We NULL check the delegate here since the buttons can receive WM_COMMAND // messages even after they (and the window containing us) are destroyed. - if (GetDialogDelegate()) + if (!GetDialogDelegate()) return; if (sender == ok_button_) { |