summaryrefslogtreecommitdiffstats
path: root/chrome/browser/jsmessage_box_handler_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/jsmessage_box_handler_win.cc')
-rw-r--r--chrome/browser/jsmessage_box_handler_win.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/jsmessage_box_handler_win.cc b/chrome/browser/jsmessage_box_handler_win.cc
index 35eb683..5a6e02c 100644
--- a/chrome/browser/jsmessage_box_handler_win.cc
+++ b/chrome/browser/jsmessage_box_handler_win.cc
@@ -110,7 +110,9 @@ void JavascriptMessageBoxHandler::WindowClosing() {
if (message_box_view_->IsCheckBoxSelected() && web_contents_)
web_contents_->set_suppress_javascript_messages(true);
+}
+void JavascriptMessageBoxHandler::DeleteDelegate() {
delete this;
}