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 5e33ea948ba39bddc3c137b822d662eb54cd7faf..4bc2f829177cf2dcb59fc3b821cbec2b74d61954 100644 |
| --- a/content/browser/frame_host/navigator_impl.cc |
| +++ b/content/browser/frame_host/navigator_impl.cc |
| @@ -619,8 +619,7 @@ void NavigatorImpl::RequestOpenURL(RenderFrameHostImpl* render_frame_host, |
| 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( |
| + if (!render_frame_host->GetSiteInstance()->IsRelatedSiteInstance( |
|
Charlie Reis
2016/03/14 20:12:57
This looks wrong. Before this block was unreachab
nasko
2016/03/14 21:32:30
Ah, good point. We don't need the check overall, a
|
| current_site_instance)) { |
| return; |
| } |