diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-21 17:54:50 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-21 17:54:50 +0000 |
commit | 094c877cb27f036cbd52d49e65c23ab638a2625c (patch) | |
tree | 443d4fcb47298e861735a3a1fbccdf0e61794829 /content/browser/ssl/ssl_client_auth_handler.cc | |
parent | 2491f1422adfe41202cfa49194d7628ec2651a74 (diff) | |
download | chromium_src-094c877cb27f036cbd52d49e65c23ab638a2625c.zip chromium_src-094c877cb27f036cbd52d49e65c23ab638a2625c.tar.gz chromium_src-094c877cb27f036cbd52d49e65c23ab638a2625c.tar.bz2 |
Replace the GetAssociatedRenderView call with GetAssociatedRenderFrame in SSLClientAuthHandler.
BUG=304341
R=nasko@chromium.org
Review URL: https://codereview.chromium.org/109653016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/ssl/ssl_client_auth_handler.cc')
-rw-r--r-- | content/browser/ssl/ssl_client_auth_handler.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/content/browser/ssl/ssl_client_auth_handler.cc b/content/browser/ssl/ssl_client_auth_handler.cc index 60d57d4..b7fe9f0 100644 --- a/content/browser/ssl/ssl_client_auth_handler.cc +++ b/content/browser/ssl/ssl_client_auth_handler.cc @@ -80,10 +80,10 @@ void SSLClientAuthHandler::DidGetClientCerts() { } int render_process_host_id; - int render_view_host_id; - if (!ResourceRequestInfo::ForRequest(request_)->GetAssociatedRenderView( + int render_frame_host_id; + if (!ResourceRequestInfo::ForRequest(request_)->GetAssociatedRenderFrame( &render_process_host_id, - &render_view_host_id)) + &render_frame_host_id)) NOTREACHED(); // If the RVH does not exist by the time this task gets run, then the task @@ -94,7 +94,7 @@ void SSLClientAuthHandler::DidGetClientCerts() { BrowserThread::UI, FROM_HERE, base::Bind( &SSLClientAuthHandler::DoSelectCertificate, this, - render_process_host_id, render_view_host_id)); + render_process_host_id, render_frame_host_id)); } void SSLClientAuthHandler::DoCertificateSelected(net::X509Certificate* cert) { @@ -113,10 +113,10 @@ void SSLClientAuthHandler::DoCertificateSelected(net::X509Certificate* cert) { } void SSLClientAuthHandler::DoSelectCertificate( - int render_process_host_id, int render_view_host_id) { + int render_process_host_id, int render_frame_host_id) { GetContentClient()->browser()->SelectClientCertificate( render_process_host_id, - render_view_host_id, + render_frame_host_id, http_network_session_, cert_request_info_.get(), base::Bind(&SSLClientAuthHandler::CertificateSelected, this)); |