-
Mikel Astiz authored
IsValidIndex() captures the very same preconditions but calling out the validity of the parent in dedicated DCHECKs helps readability and allows understanding user reports better. Bug: 1051614 Change-Id: If10e53fc52b3f6003dba9f9b2bf386ccf75de3e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2054165 Auto-Submit: Mikel Astiz <mastiz@chromium.org> Commit-Queue: Scott Violet <sky@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#741114}
9f8d40e6