Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove NOTREACHED() in the RawInfo accessors of AutfillProfile.
Reverts the NOTREACHED() statements recently added in crrev.com/c/3528474. While the RawInfo accessors should ideally not be called with field types unassociated with the AutofillProfile, the usage of GetInfo/GetRawInfo is inconsistent for historical reasons. The NOREACHED() statements can therefore lead to unexpected crashes. (cherry picked from commit 9a0ed6a) Bug: 1327588 Change-Id: Ie241e84b8b3d8f9d3003516da91cdfeba4f5908a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3655466 Commit-Queue: Matthias Körber <koerber@google.com> Reviewed-by: Matthias Körber <koerber@google.com> Commit-Queue: Florian Leimgruber <fleimgruber@google.com> Cr-Original-Commit-Position: refs/heads/main@{#1005718} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3660084 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Christoph Schwering <schwering@google.com> Auto-Submit: Florian Leimgruber <fleimgruber@google.com> Cr-Commit-Position: refs/branch-heads/5060@{#176} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information