Chromium Code Reviews| Index: content/browser/frame_host/navigator_impl.cc |
| diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
| index b2be362dfb61d9b6904098078d4c62f5f2c1cbc6..ab998deac81aa875502684ec32b0db9e95baa944 100644 |
| --- a/content/browser/frame_host/navigator_impl.cc |
| +++ b/content/browser/frame_host/navigator_impl.cc |
| @@ -11,6 +11,7 @@ |
| #include "content/browser/frame_host/frame_tree_node.h" |
| #include "content/browser/frame_host/navigation_controller_impl.h" |
| #include "content/browser/frame_host/navigation_entry_impl.h" |
| +#include "content/browser/frame_host/navigation_handle_factory.h" |
| #include "content/browser/frame_host/navigation_handle_impl.h" |
| #include "content/browser/frame_host/navigation_request.h" |
| #include "content/browser/frame_host/navigation_request_info.h" |
| @@ -158,8 +159,10 @@ void NavigatorImpl::DidStartProvisionalLoad( |
| render_frame_host->SetNavigationHandle(scoped_ptr<NavigationHandleImpl>()); |
| } |
| - render_frame_host->SetNavigationHandle( |
| - NavigationHandleImpl::Create(url, is_main_frame, delegate_)); |
| + GURL filtered_url = url; |
| + render_frame_host->GetProcess()->FilterURL(false, &filtered_url); |
|
Charlie Reis
2015/09/16 00:09:25
Again, I'm not sure this is the right place to be
clamy
2015/09/16 01:03:22
This was removed since we already call FilterURL a
|
| + render_frame_host->SetNavigationHandle(NavigationHandleFactory::Create( |
| + url, filtered_url, is_main_frame, delegate_)); |
| } |
| void NavigatorImpl::DidFailProvisionalLoadWithError( |