Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: content/browser/frame_host/render_frame_host_manager.cc

Issue 2508973006: Kill vestigial transfer requests (Closed)
Patch Set: comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_manager.cc
diff --git a/content/browser/frame_host/render_frame_host_manager.cc b/content/browser/frame_host/render_frame_host_manager.cc
index a68a49f89f983b31492fbd793ce679094ce48a6b..e4b21cee234a6960ed9d5a9cdb851653720bdaca 100644
--- a/content/browser/frame_host/render_frame_host_manager.cc
+++ b/content/browser/frame_host/render_frame_host_manager.cc
@@ -482,7 +482,10 @@ void RenderFrameHostManager::OnCrossSiteResponse(
// transfered to a RenderFrameHost. In the other cases, it should be cleared.
// If the NavigationHandle wasn't claimed, this will lead to the cancelation
// of the request in the network stack.
- transfer_navigation_handle_.reset();
+ if (transfer_navigation_handle_) {
+ transfer_navigation_handle_->set_is_transferring(false);
+ transfer_navigation_handle_.reset();
+ }
// If the navigation in the new renderer did not start, inform the
// FrameTreeNode that it stopped loading.
« no previous file with comments | « content/browser/frame_host/navigator_impl.cc ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698