Chromium Code Reviews| Index: content/browser/frame_host/navigation_handle_impl.cc |
| diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc |
| index 53c566373592ee72bfa79b6a6cd4782fb7479580..7904e69d4a37051d293b2071bb780b76a14ae894 100644 |
| --- a/content/browser/frame_host/navigation_handle_impl.cc |
| +++ b/content/browser/frame_host/navigation_handle_impl.cc |
| @@ -645,6 +645,10 @@ bool NavigationHandleImpl::MaybeTransferAndProceedInternal() { |
| if (IsBrowserSideNavigationEnabled()) |
| return true; |
| + // A navigation form a renderer that is no longer active should not attempt to |
|
nasko
2016/10/04 16:07:39
minor nit: s/renderer/RenderFrame/
clamy
2016/10/04 16:12:53
Done.
|
| + // transfer. |
| + CHECK(render_frame_host_->is_active()); |
| + |
| // Subframes shouldn't swap processes unless out-of-process iframes are |
| // possible. |
| if (!IsInMainFrame() && !SiteIsolationPolicy::AreCrossProcessFramesPossible()) |