Use correct id type in CefContentBrowserClient::AllowCertificateError (issue #1282).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1705 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2014-05-12 15:56:24 +00:00
parent 791c0ff12c
commit 921c25f0af
2 changed files with 4 additions and 4 deletions

View File

@ -672,7 +672,7 @@ content::SpeechRecognitionManagerDelegate*
void CefContentBrowserClient::AllowCertificateError(
int render_process_id,
int render_view_id,
int render_frame_id,
int cert_error,
const net::SSLInfo& ssl_info,
const GURL& request_url,
@ -692,8 +692,8 @@ void CefContentBrowserClient::AllowCertificateError(
}
CefRefPtr<CefBrowserHostImpl> browser =
CefBrowserHostImpl::GetBrowserForView(render_process_id,
render_view_id);
CefBrowserHostImpl::GetBrowserForFrame(render_process_id,
render_frame_id);
if (!browser.get())
return;
CefRefPtr<CefClient> client = browser->GetClient();

View File

@ -103,7 +103,7 @@ class CefContentBrowserClient : public content::ContentBrowserClient {
GetSpeechRecognitionManagerDelegate() OVERRIDE;
virtual void AllowCertificateError(
int render_process_id,
int render_view_id,
int render_frame_id,
int cert_error,
const net::SSLInfo& ssl_info,
const GURL& request_url,