weblayer: share WebView's context wrapper.
Use ClassLoaderContextWrapperFactory from WebView instead of wrapping the context ourselves, as the requirements are the same. Move the wrapping to the implementation side instead of the client side so that we can update it easily in future. This means that there's no longer any need for the client side to hold on to the Context for the implementation, as only the ClassLoader is actually required to bootstrap loading; ClassLoaderContextWrapperFactory simply uses its own classloader instead of requiring that a Context/ClassLoader be passed in. Change-Id: I9fb4418da7267b8f015b61c08d44cb6fa2faf65d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1867409Reviewed-by:Clark DuVall <cduvall@chromium.org> Commit-Queue: Richard Coles <torne@chromium.org> Cr-Commit-Position: refs/heads/master@{#707841}
Showing
Please register or sign in to comment