Use base computed style optimization with DCHECKs enabled.
We used to skip the whole base computed style optimization and just compare the new style with the old stored base, but used the newly computed style always when DCHECK was enabled. This CL always computes the computed style without the base, but then, after verifying it matches the base, use the base computed style. Bug: 669790 Change-Id: Ifc82de4644fae104d69d8abf91261ba1cfe52f73 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2074399Reviewed-by:Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#745043}
Showing
This diff is collapsed.
Please register or sign in to comment