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

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

Issue 2735183003: PlzNavigate: stop navigations when opening a document for write (Closed)
Patch Set: Rebase 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
Index: content/browser/frame_host/navigation_request.cc
diff --git a/content/browser/frame_host/navigation_request.cc b/content/browser/frame_host/navigation_request.cc
index a33257a2be0021c7f87e2d57a107efce9a67a78a..b9c98de2224875e395f118a25d1f2f09ae682eab 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -221,7 +221,8 @@ std::unique_ptr<NavigationRequest> NavigationRequest::CreateBrowserInitiated(
false, // skip_service_worker
REQUEST_CONTEXT_TYPE_LOCATION,
blink::WebMixedContentContextType::Blockable,
- initiator),
+ initiator,
+ -1), // renderer_navigation_id
entry.ConstructRequestNavigationParams(
frame_entry, common_params.url, common_params.method,
is_history_navigation_in_new_child,

Powered by Google App Engine
This is Rietveld 408576698