Forbid accessing ScriptLoader from PendingScript
This CL makes ScriptElementBase::Loader() protected, and thus after this CL PendingScript no longer has access to ScriptLoader, making separation between PendingScript and ScriptLoader more strict. XML/HTMLParserScriptRunner previously get ScriptLoader via ScriptElementBase, but after this CL they get ScriptLoader directly via ScriptLoaderFromElement(). No behavior changes. Bug: 842349 Change-Id: I5104c0817669e871a68b8d8286d037e3e23622cc Reviewed-on: https://chromium-review.googlesource.com/1054855 Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#561379}
Showing
Please register or sign in to comment