summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authordavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 20:19:48 +0000
committerdavidben@chromium.org <davidben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 20:19:48 +0000
commit74940712d4d453bdad9d76b386733aa3906c0b54 (patch)
tree2c2cd79308e8fb39439e46c9b7c0f07f2e996758 /chrome
parentc590bf9777c8cb17b0cad4068bc8b3c4e1b0f959 (diff)
downloadchromium_src-74940712d4d453bdad9d76b386733aa3906c0b54.zip
chromium_src-74940712d4d453bdad9d76b386733aa3906c0b54.tar.gz
chromium_src-74940712d4d453bdad9d76b386733aa3906c0b54.tar.bz2
Inform the SSLClientAuthHandler that a request was cancelled
Otherwise it may access a freed URLRequest. R=agl BUG=48210 TEST=close tab while certificate selection dialog is open, then submit Review URL: http://codereview.chromium.org/2858047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51772 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/renderer_host/resource_dispatcher_host.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc
index fcb5c79..a56aeb2 100644
--- a/chrome/browser/renderer_host/resource_dispatcher_host.cc
+++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc
@@ -886,6 +886,8 @@ void ResourceDispatcherHost::RemovePendingRequest(
// Notify interested parties that the request object is going away.
if (info && info->login_handler())
info->login_handler()->OnRequestCancelled();
+ if (info->ssl_client_auth_handler())
+ info->ssl_client_auth_handler()->OnRequestCancelled();
resource_queue_.RemoveRequest(iter->first);
delete iter->second;