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 5e33ea948ba39bddc3c137b822d662eb54cd7faf..b53fd425d5cdad835be802a30454d0b145df7b04 100644 |
--- a/content/browser/frame_host/navigator_impl.cc |
+++ b/content/browser/frame_host/navigator_impl.cc |
@@ -614,16 +614,9 @@ void NavigatorImpl::RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
DCHECK(!render_frame_host->GetParent() || |
SiteIsolationPolicy::AreCrossProcessFramesPossible()); |
- // If this came from a swapped out RenderFrameHost, we only allow the request |
- // if we are still in the same BrowsingInstance. |
SiteInstance* current_site_instance = render_frame_host->frame_tree_node() |
->current_frame_host() |
->GetSiteInstance(); |
- if (render_frame_host->is_swapped_out() && |
- !render_frame_host->GetSiteInstance()->IsRelatedSiteInstance( |
- current_site_instance)) { |
- return; |
- } |
// TODO(creis): Pass the redirect_chain into this method to support client |
// redirects. http://crbug.com/311721. |