[weblayer] Keep a reference to the remote class loader.
This allows us to support starting code loading earlier, as well as supporting APIs that may not need or want to fully initialize WebLayer, but just make use of Java code from the WebLayer provider. Also clean up calls to getApplicationContext to ensure that they happen at the public API surface rather than internally. Bug: 1027076 Change-Id: I16d7ce196c680722981883ed7d2be463d482b801 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1928779Reviewed-by:Pavel Shmakov <pshmakov@chromium.org> Commit-Queue: Tobias Sargeant <tobiasjs@chromium.org> Cr-Commit-Position: refs/heads/master@{#717659}
Showing
Please register or sign in to comment