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

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

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Created 3 years, 9 months 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 | « no previous file | content/browser/frame_host/navigator.h » ('j') | content/common/frame_messages.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/frame_tree_node.cc
diff --git a/content/browser/frame_host/frame_tree_node.cc b/content/browser/frame_host/frame_tree_node.cc
index 655c46092ccd43acb579fd8813a123639ebb8f1f..bdc5b8cb7ab947b388399559809bc544f94f4cdb 100644
--- a/content/browser/frame_host/frame_tree_node.cc
+++ b/content/browser/frame_host/frame_tree_node.cc
@@ -426,7 +426,7 @@ void FrameTreeNode::ResetNavigationRequest(bool keep_state) {
// informed that the navigation stopped.
if (was_renderer_initiated) {
current_frame_host()->Send(
- new FrameMsg_Stop(current_frame_host()->GetRoutingID()));
+ new FrameMsg_DroppedNavigation(current_frame_host()->GetRoutingID()));
nasko 2017/03/09 05:19:28 Hmm, why use the new IPC here? The navigation coul
clamy 2017/03/13 13:55:57 Yes. But I don't think that the cancellation of on
}
}
« no previous file with comments | « no previous file | content/browser/frame_host/navigator.h » ('j') | content/common/frame_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698