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

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

Issue 2438743005: Fix history nav to a script-injected about:blank frame. (Closed)
Patch Set: Fix nits. Created 4 years, 2 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 f6da2a7575635de29e6ca651630919a004927e40..826241b4611f195c3dbc81241fbf937818992ec9 100644
--- a/content/browser/frame_host/navigation_request.cc
+++ b/content/browser/frame_host/navigation_request.cc
@@ -189,7 +189,7 @@ std::unique_ptr<NavigationRequest> NavigationRequest::CreateRendererInitiated(
0, // nav_entry_id
false, // is_same_document_history_load
false, // is_history_navigation_in_new_child
- std::set<std::string>(), // subframe_unique_names
+ std::map<std::string, bool>(), // subframe_unique_names
frame_tree_node->has_committed_real_load(),
false, // intended_as_new_entry
-1, // pending_history_list_offset

Powered by Google App Engine
This is Rietveld 408576698