Skip to content
Commit a00e13e2 authored by Alisa Lin's avatar Alisa Lin Committed by Chromium LUCI CQ
Browse files

Replace DCHECK with NOTREACHED

If we somehow end up in PopAndRestore with a stack of size 1, we want to crash in release builds instead of messing with the state stack.

Bug: 1232705
Change-Id: Ie6e7dd674779a400280f59508c00d6fad93f3365
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3070907


Reviewed-by: default avatarJuanmi Huertas <juanmihd@chromium.org>
Commit-Queue: Alisa Lin <alisalin@google.com>
Cr-Commit-Position: refs/heads/master@{#908694}
parent 271b3012
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment