mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02: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:
@@ -672,7 +672,7 @@ content::SpeechRecognitionManagerDelegate*
|
|||||||
|
|
||||||
void CefContentBrowserClient::AllowCertificateError(
|
void CefContentBrowserClient::AllowCertificateError(
|
||||||
int render_process_id,
|
int render_process_id,
|
||||||
int render_view_id,
|
int render_frame_id,
|
||||||
int cert_error,
|
int cert_error,
|
||||||
const net::SSLInfo& ssl_info,
|
const net::SSLInfo& ssl_info,
|
||||||
const GURL& request_url,
|
const GURL& request_url,
|
||||||
@@ -692,8 +692,8 @@ void CefContentBrowserClient::AllowCertificateError(
|
|||||||
}
|
}
|
||||||
|
|
||||||
CefRefPtr<CefBrowserHostImpl> browser =
|
CefRefPtr<CefBrowserHostImpl> browser =
|
||||||
CefBrowserHostImpl::GetBrowserForView(render_process_id,
|
CefBrowserHostImpl::GetBrowserForFrame(render_process_id,
|
||||||
render_view_id);
|
render_frame_id);
|
||||||
if (!browser.get())
|
if (!browser.get())
|
||||||
return;
|
return;
|
||||||
CefRefPtr<CefClient> client = browser->GetClient();
|
CefRefPtr<CefClient> client = browser->GetClient();
|
||||||
|
@@ -103,7 +103,7 @@ class CefContentBrowserClient : public content::ContentBrowserClient {
|
|||||||
GetSpeechRecognitionManagerDelegate() OVERRIDE;
|
GetSpeechRecognitionManagerDelegate() OVERRIDE;
|
||||||
virtual void AllowCertificateError(
|
virtual void AllowCertificateError(
|
||||||
int render_process_id,
|
int render_process_id,
|
||||||
int render_view_id,
|
int render_frame_id,
|
||||||
int cert_error,
|
int cert_error,
|
||||||
const net::SSLInfo& ssl_info,
|
const net::SSLInfo& ssl_info,
|
||||||
const GURL& request_url,
|
const GURL& request_url,
|
||||||
|
Reference in New Issue
Block a user