Fix DecoderService not starting with isolated splits enabled
The fix for crbug.com/1146745 started using the ClassLoader from ContextUtils.getApplicationContext() for loading service classes. In the browser process, this ClassLoader will be the chrome module ClassLoader. DecoderService runs in it's own process, so the application does not load the chrome specific code. This change makes sure the application ClassLoader can actually load the service class before replacing the passed in context. Bug: 1152467 Change-Id: I82b4081afc349fec2e540a5763586153b50b67b3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2558957Reviewed-by:Andrew Grieve <agrieve@chromium.org> Commit-Queue: Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/master@{#830839}
Showing
Please register or sign in to comment