Skip to content

Commit

Permalink
Removing outdated usage of pending_navigation_params_.
Browse files Browse the repository at this point in the history
Remaining usage of pending_navigation_params_ in renderer initiated
navigations where it is always false.

Bug: 789577
Change-Id: Ie8c214b01922f96f9bf3f8b5f6e6be4e82273bed
Reviewed-on: https://chromium-review.googlesource.com/1189804
Reviewed-by: Dmitry Gozman <dgozman@chromium.org>
Commit-Queue: Arthur Hemery <ahemery@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588801}
  • Loading branch information
hemeryar authored and Commit Bot committed Sep 5, 2018
1 parent 50255db commit a1ca22a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions content/renderer/render_frame_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6169,13 +6169,6 @@ WebNavigationPolicy RenderFrameImpl::DecidePolicyForNavigation(
!weak_self) {
return blink::kWebNavigationPolicyIgnore;
}

// |navigation_start| must be recorded immediately after dispatching the
// beforeunload event.
if (pending_navigation_params_) {
pending_navigation_params_->common_params.navigation_start =
base::TimeTicks::Now();
}
}

// When an MHTML Archive is present, it should be used to serve iframe content
Expand Down

0 comments on commit a1ca22a

Please sign in to comment.