Plausible fix for crash in GetCertificateChain.
The call to get the certificate chain from native assumes a valid ContentViewCore. Switch to using WebContents which will get properly invalidated/handled if the tab which launches this dialog closes before the dialog is presented. Also includes a slight change to avoid bouncing Java->native->Java by allowing the dialog to be created from Java. BUG=379928 Review URL: https://codereview.chromium.org/330583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276653 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment