Revert "Remove ScriptContext::ScopedFrameDocumentLoader"
This reverts commit 2e28f009. Reason for revert: suspecting to cause crashes, http://crbug.com/1052107 Original change's description: > Remove ScriptContext::ScopedFrameDocumentLoader > > This scope is used to map Frame to just-about-to-commit DocumentLoader. > > With https://crrev.com/706529, we now call ReadyToCommitNavigation > after the commit (as opposite to before the commit). Therefore, > WebLocalFrame::GetDocumentLoader is already the right one and we don't > need a scoped mapping. > > Bug: 855189 > Change-Id: I95621b00ee4391986f063e56f20d8d7d25b5c532 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2046210 > Reviewed-by: Devlin <rdevlin.cronin@chromium.org> > Commit-Queue: Dmitry Gozman <dgozman@chromium.org> > Cr-Commit-Position: refs/heads/master@{#740198} TBR=dgozman@chromium.org,rdevlin.cronin@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 855189 Change-Id: I7021f96e4c6db2a41f048113b369eee7a21b07ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2083390Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#746166}
Showing
Please register or sign in to comment