summaryrefslogtreecommitdiffstats
path: root/chrome/browser/js_modal_dialog.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 21:06:10 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 21:06:10 +0000
commit2778422480f39fb65cde82d068efa6e405e3b280 (patch)
tree2fa4897c6a3cc903b165333da42469de136e8215 /chrome/browser/js_modal_dialog.h
parent063116436eef669db209ead4aefa4b77ce97879c (diff)
downloadchromium_src-2778422480f39fb65cde82d068efa6e405e3b280.zip
chromium_src-2778422480f39fb65cde82d068efa6e405e3b280.tar.gz
chromium_src-2778422480f39fb65cde82d068efa6e405e3b280.tar.bz2
Attempt fix for crash bug when alert closes while owning host
is invalid. I can't actually repro this bug, but I think this should fix it. BUG=40439 Review URL: http://codereview.chromium.org/1540024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44125 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/js_modal_dialog.h')
-rw-r--r--chrome/browser/js_modal_dialog.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/js_modal_dialog.h b/chrome/browser/js_modal_dialog.h
index 65ed1ae..b53954e 100644
--- a/chrome/browser/js_modal_dialog.h
+++ b/chrome/browser/js_modal_dialog.h
@@ -71,11 +71,9 @@ class JavaScriptAppModalDialog : public AppModalDialog,
// Callbacks from NativeDialog when the user accepts or cancels the dialog.
void OnCancel();
void OnAccept(const std::wstring& prompt_text, bool suppress_js_messages);
- void OnClose();
protected:
// AppModalDialog overrides.
- virtual void Cleanup();
virtual NativeDialog CreateNativeDialog();
private: