[navigation] Clean up null checks in FrameLoader::DetachDocument()
As of https://crrev.com/c/1684998, FrameLoader::Init() no longer calls FrameLoader::DetachDocument(). Since this was the only case where the Document and DocumentLoader could be null, FrameLoader::DetachDocument() no longer needs to handle this case. Bug: 855189 Change-Id: I10fe2b6ecc6765e73675676dda72c666401b5f9e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2617001 Auto-Submit: Daniel Cheng <dcheng@chromium.org> Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#841703}
Showing
Please register or sign in to comment