Check passwordManager in PasswordController JS completion
It is possible for the PasswordController to be detached between the call to GetPageURLAndCheckTrustLevel and the JS completion. In that case, passwordManager is reset and there is a nullptr exception. Bug: 791710 Change-Id: Ibec514aefbaf5fb7a8773cd0254f0bf2f785e06e Reviewed-on: https://chromium-review.googlesource.com/808045Reviewed-by:Vaclav Brozek <vabr@chromium.org> Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Cr-Commit-Position: refs/heads/master@{#521672}
Showing
Please register or sign in to comment