[css-counters] Fix DCHECK failure in counter node manipulation.
We are failing a DCHECK where we assumed that reset nodes cannot have non-reset nodes as their next sibling (i.e. a reset node cannot be followed by a non-reset node on the same level). We were using this assumption when we wanted to reparent all non-reset nodes and we stopped at the first reset node. However, this assumption seems to be wrong as we are hitting this DCHECK on ClusterFuzz. This patch speculatively fixes this issue by not stopping at the first reset node. This is a speculative fix. Bug: 822217 Change-Id: I83679c51d82d28c7bd1ace92b27cc7910b9c9db4 Reviewed-on: https://chromium-review.googlesource.com/981334 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#546035}
Showing
Please register or sign in to comment