Fixed bugs in VectorBackedLinkedList::MoveTo
|MoveTo| didn't work correctly when moving the target node before itself/its next node. Also added DCHECKs, which check if the target node is not anchor and if two given node is both in-use list. Change-Id: I60442f1d706a072eaeca9bc83eaaee9d60b0c853 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2096316 Commit-Queue: Kei Nakashima <keinakashima@google.com> Reviewed-by:Yuki Shiino <yukishiino@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#748599}
Showing
Please register or sign in to comment