Switch digest calculation from using xor.
The problem with xor is it's a commutative operator, so the relative ordering of operations won't be captured in the digest calculated. This is problematic, as drawing an oval and then a rectangle can produce visually-different results than drawing the rectangle and then the oval. Instead, we can use the IdentifiableTokenBuilder library, which was designed to preserve such ordering. Bug: 973801 Change-Id: I45baf54418263a1984bc3446233fd5a7d0a6ebc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2311059 Commit-Queue: Caleb Raitto <caraitto@chromium.org> Reviewed-by:Fernando Serboncini <fserb@chromium.org> Reviewed-by:
Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#795677}
Showing
Please register or sign in to comment