Add DCHECK(is_valid()) to DMToken::value().
This DCHECK was not included to avoid causing problems with older code that would read the value of empty tokens. Now that this code is migrated the check can be included. Change-Id: I1a9daff8624ba1f7e72df269636d765f2ad9ee20 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1935833Reviewed-by:Owen Min <zmin@chromium.org> Commit-Queue: Dominique Fauteux-Chapleau <domfc@chromium.org> Cr-Commit-Position: refs/heads/master@{#719237}
Showing
Please register or sign in to comment