android: Limit bindToCaller check to webview
There is evidence the BindToCaller check is causing to GPU hangs
although not sure about the exact mechanism. This change guards the
BindToCaller check behind a new setting in ChildProcessCreationParams
and then only enable it in webview.
Note also moved a few lines out of lock protection in
ChildProcessServiceImpl setupConnection.
This is intended to be merged back to m58.
BUG=690118
Review-Url: https://codereview.chromium.org/2796453003
Cr-Commit-Position: refs/heads/master@{#461883}
CrOS-Libchrome-Original-Commit: 2e90ee35449665137ff4bd8ff457d656b67ffa4c
1 file changed