Use correct id type in CefContentBrowserClient::AllowCertificateError (issue #1282).
git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1916@1706 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
ad6e5f4f76
commit
dceb7fcaa3
|
@ -691,7 +691,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,
|
||||
|
@ -711,8 +711,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();
|
||||
|
|
|
@ -106,7 +106,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,
|
||||
|
|
Loading…
Reference in New Issue