Commit 921c25f0 authored by Marshall Greenblatt's avatar Marshall Greenblatt

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

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1705 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
parent 791c0ff1
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment