commit | 5b37246c8f89310cb5f8d94c385627b6b596a0c6 | [log] [tgz] |
---|---|---|
author | Rune Lillesveen <[email protected]> | Tue Sep 26 04:43:44 2017 |
committer | Commit Bot <[email protected]> | Tue Sep 26 04:43:44 2017 |
tree | 7773b1b527b7d1c9ba9cace018e65e3a1b00b385 | |
parent | 0afd01471cdd114b59b35c12019ff16daf1e5364 [diff] |
Store new ComputedStyle object if style did not change. The comparison of ComputedStyle does not take additional flags into account. For instance, the AffectedBy* flags used for updating pseudo classes like :hover. We used to call SetStyleInternal, but this was removed because the previous comment said it was because of style sharing which is now removed. The display:contents case (768406) never worked because the code path for StoreNonLayoutObjectComputedStyle() was always skipped when computed style compared to be equal. Bug: 768406, 767832 Change-Id: Iac4708e3cd3a6451d99c1bb2bb69efb74289b8eb Reviewed-on: https://chromium-review.googlesource.com/681755 Reviewed-by: nainar <[email protected]> Commit-Queue: Rune Lillesveen <[email protected]> Cr-Commit-Position: refs/heads/master@{#504285}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .