Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change avoids calling methods on save_card_delegate_ when it is unset to avoid crashing if save_card_delegate_ is unset. Say when the bridge's methods are (incorrectly) called multiple times from Java. This change addresses the immediate crash; for see https://crbug.com/1488003 for root cause analysis. (cherry picked from commit 7b9c09b) Bug: 1484617 Change-Id: If59ecdfd55e60be71a2e4de608e32c6d0f35e936 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4902469 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Auto-Submit: Slobodan Pejic <slobodan@chromium.org> Reviewed-by: Peter Kotwicz <pkotwicz@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1203425} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903713 Reviewed-by: Stephen McGruer <smcgruer@chromium.org> Commit-Queue: Slobodan Pejic <slobodan@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/branch-heads/5993@{#1053} Cr-Branched-From: 5113507-refs/heads/main@{#1192594}
- Loading branch information