DocumentLoader::CommitNavigation cleanup
Split most of the window initialization logic out into a helper. Also, it's not clear that GlobalObjectReusePolicy needs to be an enum. Return a boolean for whether we should reuse the dom window, and use the bool |should_reset_browser_interface_broker| for all of the layers of load commit callbacks, rather than switching from enum to bool part way. Change-Id: I8ff3c514115ff6b94f7992af8a73c5cc06e77623 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2341346 Commit-Queue: Nate Chapin <japhet@chromium.org> Auto-Submit: Nate Chapin <japhet@chromium.org> Reviewed-by:Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#796055}
Showing
Please register or sign in to comment