diff --git a/libcef/browser/content_browser_client.cc b/libcef/browser/content_browser_client.cc index 1ce50d20e..85bc4e88f 100644 --- a/libcef/browser/content_browser_client.cc +++ b/libcef/browser/content_browser_client.cc @@ -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 browser = - CefBrowserHostImpl::GetBrowserForView(render_process_id, - render_view_id); + CefBrowserHostImpl::GetBrowserForFrame(render_process_id, + render_frame_id); if (!browser.get()) return; CefRefPtr client = browser->GetClient(); diff --git a/libcef/browser/content_browser_client.h b/libcef/browser/content_browser_client.h index e7eb9d712..5d7aadd7d 100644 --- a/libcef/browser/content_browser_client.h +++ b/libcef/browser/content_browser_client.h @@ -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,