diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-09 03:11:15 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-09 03:11:15 +0000 |
commit | 352008c8de06e73840cb2dabff5b5e8a2b86438b (patch) | |
tree | c3737637299c79d7dd60f1b3dcee630e2922168a /chrome/browser/renderer_host/resource_dispatcher_host.cc | |
parent | e001408db4f1a0107c5ca214610ff07db3e74f0e (diff) | |
download | chromium_src-352008c8de06e73840cb2dabff5b5e8a2b86438b.zip chromium_src-352008c8de06e73840cb2dabff5b5e8a2b86438b.tar.gz chromium_src-352008c8de06e73840cb2dabff5b5e8a2b86438b.tar.bz2 |
Remove an unnecessary null pointer test for |info| in
ResourceDispatcherHost::RemovePendingRequest.
R=davidben
BUG=48210
TEST=none
Review URL: http://codereview.chromium.org/2962001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51920 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/resource_dispatcher_host.cc')
-rw-r--r-- | chrome/browser/renderer_host/resource_dispatcher_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc index a56aeb2..2d1e7fc 100644 --- a/chrome/browser/renderer_host/resource_dispatcher_host.cc +++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc @@ -884,7 +884,7 @@ void ResourceDispatcherHost::RemovePendingRequest( info->child_id()); // Notify interested parties that the request object is going away. - if (info && info->login_handler()) + if (info->login_handler()) info->login_handler()->OnRequestCancelled(); if (info->ssl_client_auth_handler()) info->ssl_client_auth_handler()->OnRequestCancelled(); |