commit | 80fea269cc5d175e2be98460f76f2084b3ec5a0b | [log] [tgz] |
---|---|---|
author | Lukasz Anforowicz <[email protected]> | Wed Aug 29 18:31:49 2018 |
committer | Commit Bot <[email protected]> | Wed Aug 29 18:31:49 2018 |
tree | 93b8500e0564852be9ee6792f878cd49918b521f | |
parent | 2d61ec8861ccb5e2045cd5755d98284ce5ababb8 [diff] |
[refactoring] Extract WebLocalFrame::CommitDataNavigationWithRequest. This CL extracts the second half of CommitDataNavigation method into a new CommitDataNavigationWithRequest method. The new method is called by the old WebLocalFrameImpl::CommitDataNavigation method and by RenderFrameImpl::LoadNavigationErrorPageInternal. The CL also consolidates and deduplicates RenderFrameImpl code related to committing of error pages: - It avoids duplication of the code that calculates blink::WebFrameLoadType and blink::WebHistoryItem based on content::HistoryEntry* - It removes the need to pass arguments that either 1) do not differ among callers or 2) can be deduced from other arguments. For example: - GURL(kUnreachableWebDataURL) - is_client_redirect This CL should be a pure refactoring, with no change in behavior. Bug: 874544 Change-Id: I0088ad6367407ba70aa28c550ca46d7121dd78eb Reviewed-on: https://chromium-review.googlesource.com/1176230 Commit-Queue: Ćukasz Anforowicz <[email protected]> Reviewed-by: Kinuko Yasuda <[email protected]> Cr-Commit-Position: refs/heads/master@{#587208}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .