Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace if () NOTREACHED() with CHECK() in ash/public/cpp/external_ar…
…c/message_center Replace simple cases of if (foo) NOTREACHED(); and if (!bar) NOTREACHED() with CHECK(!foo); and CHECK(bar) in ash/public/cpp/external_arc/message_center. This aligns with current guidance: https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/checks.md#:~:text=Use%20CHECK(bar)%3B%20instead Most changes were automated with regular expression substitutions. This CL was uploaded by git cl split. [email protected] Change-Id: Ic809949f8a2683d51b7cdccc16fe48fa7f226f97 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5826744 Auto-Submit: Adam Rice <[email protected]> Commit-Queue: Toshiki Kikuchi <[email protected]> Commit-Queue: Adam Rice <[email protected]> Reviewed-by: Toshiki Kikuchi <[email protected]> Cr-Commit-Position: refs/heads/main@{#1349738}
- Loading branch information