| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index c077141da592cd1dfa10f67fda809fb462f64908..826f61118083b5e2fdd2f8b86984ae2e6e0d43e2 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1780,13 +1780,11 @@ void WebContentsImpl::DidStartProvisionalLoadForFrame(
|
| GURL validated_opener_url(opener_url);
|
| content::RenderProcessHost* render_process_host =
|
| render_view_host->GetProcess();
|
| - RenderViewHostImpl::FilterURL(
|
| - ChildProcessSecurityPolicyImpl::GetInstance(),
|
| + RenderViewHost::FilterURL(
|
| render_process_host->GetID(),
|
| false,
|
| &validated_url);
|
| - RenderViewHostImpl::FilterURL(
|
| - ChildProcessSecurityPolicyImpl::GetInstance(),
|
| + RenderViewHost::FilterURL(
|
| render_process_host->GetID(),
|
| true,
|
| &validated_opener_url);
|
| @@ -1864,8 +1862,7 @@ void WebContentsImpl::DidFailProvisionalLoadWithError(
|
| GURL validated_url(params.url);
|
| content::RenderProcessHost* render_process_host =
|
| render_view_host->GetProcess();
|
| - RenderViewHostImpl::FilterURL(
|
| - ChildProcessSecurityPolicyImpl::GetInstance(),
|
| + RenderViewHost::FilterURL(
|
| render_process_host->GetID(),
|
| false,
|
| &validated_url);
|
|
|