ExecutionContext post-migration cleanup - modules/{a*,b*}
While migrating ExecutionContext to LocalDOMWindow, several helpers were introduced on Document (From(), DynamicFrom(), ToExecutionContext()). This CL removes usage of these types from this directory. From() and DynamicFrom() are replaced with the standard downcast helpers for LocalDOMWindow. ToExecutionContext() is replaced with a direct path to the LocalDOMWindow, or Node::GetExecutionContext(), or Document::GetExecutionContext(), whichever is most direct from the callsite. Bug: 1029822 Change-Id: I208d233652916cbb19b06e24090289995012611c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2111066 Commit-Queue: Nate Chapin <japhet@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#761100}
Showing
Please register or sign in to comment