| 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 4a8da4864c5f60020cd2bb39dbcdcba2c5e44096..3dbc5139cc1decc23bcd50590b2be0144214dee1 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -1782,13 +1782,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);
|
| @@ -1812,8 +1810,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);
|
|
|