Add DCHECK() to NextWordPositionInternal() not to accept null-position
Because of |NextWordPositionInternal()| doesn't accept null-position, this patch adds |DCHECK()| to catch such callers for ease of debugging. Bug: 832061 Change-Id: Id987553c939db8f061e58eca09d7ebcd946482c9 Reviewed-on: https://chromium-review.googlesource.com/1013642Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#551531}
Showing
Please register or sign in to comment