Fix a crash in ManagePasswordsState with use-after-free.
There are two bugs fixed together. - HttpAuthManagerImpl::OnLoginSuccesful should care about the case when the password store isn't done. In such a case the prompt should not be invoked. - ManagePasswordsState should account for the method parameters may depend on the internal memeber |form_manager_|. Bug: 1017481 Change-Id: Ib63d1c7480cc2a5130d943e36cb0a02f9b0af7cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890437 Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org> Reviewed-by:Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#711193}
Showing
Please register or sign in to comment