mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-18 13:10:42 +01:00
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:
parent
791c0ff12c
commit
921c25f0af
@ -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();
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user