commit | 7c76f7926ac08f72f3b11f5cc39fab1b49c25632 | [log] [tgz] |
---|---|---|
author | Darren Shen <shend@chromium.org> | Fri Feb 09 04:10:42 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 09 04:10:42 2018 |
tree | 2e2abafea63a8be645b712b024a7851df6eb42cb | |
parent | a631d7b7abdf46fd8c24a781a3088bd7f6c722b0 [diff] |
[css-typed-om] Don't use mutable property value set unnecessarily. We currently call EnsureMutableInlineStyle() when calling styleMap.get, even though we don't need it to be mutable. EnsureMutableInlineStyle() also has some overhead of copy-on-write. This patch just calls InlineStyle() instead, which should be slightly faster as well. Bug: 808933 Change-Id: I3f0db400b896a0be3888e61bdd8dd80783f7225c Reviewed-on: https://chromium-review.googlesource.com/910168 Reviewed-by: nainar <nainar@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#535630}
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 .