[Messages] Dismiss previous message when new save password message is triggered
This CL addresses a crash when the user submits a password form while Save Password message is on the screen. The problem is that the previous message does not get dismissed. This CL adds a call to dismiss a message before showing the new one. It ensures that the dismiss callback is called synchronously on the native side. It also ensures that dismiss callback doesn't get called again from java when the message is hidden from the screen. BUG=1153927 R=twellington@chromium.org Change-Id: I2dd48e501d1eb3eb859784c429eaa6cbc5f8d610 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2583113Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Pavel Yatsuk <pavely@chromium.org> Cr-Commit-Position: refs/heads/master@{#835715}
Showing
Please register or sign in to comment