Make ThemeProperties::GetDefaultColor() NOTREACHED() for unknown IDs.
Such cases either mean an ID was added without ensuring its value was always set, or a caller asked ThemeProperties for a color directly when they should have gone through ThemeService. Bug: none Change-Id: Ib0af93a225145cdeea68bc3347b7038fd2a1a6e1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986238 Commit-Queue: Peter Kasting <pkasting@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by:Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#728339}
Showing
Please register or sign in to comment