Make DocumentInit take a DocumentLoader instead of a LocalFrame
This better communicates the responsible party for security checks. You can definitely know which LocalFrame is associated with a DocumentLoader, but a LocalFrame may be associated with multiple DocumentLoaders. Also, remove some dead code and inline a couple of methods. Change-Id: I563a4259981bd61fd5a19b154cdd59f2aed46d24 Reviewed-on: https://chromium-review.googlesource.com/1159604 Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#580972}
Showing
Please register or sign in to comment