Fix CommandLine initialization for Chrome & WebView
Chrome may access the CommandLine from Java in-between 'load' and 'initialize' which currently causes an crash since JNI is not ready until after initialize but the CommandLine is switched over to native after load (we moved the CommandLine switch to after load to fix a problem in the Webview). This fixes the problem for Chrome by moving the CommandLine switch back to after initialize but provides a method to cause the switch to happen early so the WebView problem can be fixed to. BUG=417053,331424 Review URL: https://codereview.chromium.org/598363003 Cr-Commit-Position: refs/heads/master@{#296924}
Showing
Please register or sign in to comment