Index: android_webview/browser/aw_content_browser_client.cc |
diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc |
index 2c243784c8138d3d5b4b3c2d932453be0613c9f2..0b88116b1f19e2bb89666f80de718b3348844c70 100644 |
--- a/android_webview/browser/aw_content_browser_client.cc |
+++ b/android_webview/browser/aw_content_browser_client.cc |
@@ -356,8 +356,7 @@ AwContentBrowserClient::CreateQuotaPermissionContext() { |
} |
void AwContentBrowserClient::AllowCertificateError( |
- int render_process_id, |
- int render_frame_id, |
+ content::WebContents* web_contents, |
int cert_error, |
const net::SSLInfo& ssl_info, |
const GURL& request_url, |
@@ -368,7 +367,7 @@ void AwContentBrowserClient::AllowCertificateError( |
const base::Callback<void(bool)>& callback, |
content::CertificateRequestResultType* result) { |
AwContentsClientBridgeBase* client = |
- AwContentsClientBridgeBase::FromID(render_process_id, render_frame_id); |
+ AwContentsClientBridgeBase::FromWebContents(web_contents); |
bool cancel_request = true; |
if (client) |
client->AllowCertificateError(cert_error, |