Fix and clean up application context in webview.
- Move responsibility of application context initialization in
AwBrowserProcess to caller to prevent double initialization.
- Switch to using ContextUtils.getApplicationContext for methods that
only need the application context. Ensures the wrapped context is
always used.
- Move away from using mWebViewDelegate.getApplication as that
returns the raw unwrapped application object.
BUG=
620790
Committed:
https://crrev.com/3680ea1ea5f72a714dc3e9d690263a29ca68d0ec
Cr-Commit-Position: refs/heads/master@{#400664}