| 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 0d1b53432e2703f09c4d2f6e789d015e7a72208c..c1a82662d5aa4ebdd332feea631a49d3a36eb33b 100644
|
| --- a/content/browser/frame_host/navigation_request.cc
|
| +++ b/content/browser/frame_host/navigation_request.cc
|
| @@ -278,7 +278,6 @@ std::unique_ptr<NavigationRequest> NavigationRequest::CreateRendererInitiated(
|
| // navigation may start in a renderer and commit in another one.
|
| // TODO(clamy): See if the navigation start time should be measured in the
|
| // renderer and sent to the browser instead of being measured here.
|
| - // TODO(clamy): The pending history list offset should be properly set.
|
| RequestNavigationParams request_params(
|
| false, // is_overriding_user_agent
|
| std::vector<GURL>(), // redirects
|
| @@ -290,7 +289,8 @@ std::unique_ptr<NavigationRequest> NavigationRequest::CreateRendererInitiated(
|
| 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
|
| + -1, // |pending_history_list_offset| is set to -1 because
|
| + // history-navigations do not use this path. See comments above.
|
| current_history_list_offset, current_history_list_length,
|
| false, // is_view_source
|
| false, // should_clear_history_list
|
|
|