Fix a crash when the password bubble closes.
When a tab is closed from the renderer via window.close(), the password bubble may still be show. When it closes PasswordFormManager may decided to upload some votes. ChromePasswordManagerClient still exists at this point but ContentAutofillDriverFactory can already be deleted. The code should check this condition. Bug: 807601 Change-Id: If75c1aa5759e07568340d2233b22cc159e8c687e Reviewed-on: https://chromium-review.googlesource.com/911770Reviewed-by:Stepan Khapugin <stkhapugin@chromium.org> Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org> Cr-Commit-Position: refs/heads/master@{#535894}
Showing
Please register or sign in to comment