[css-properties-values-api] Refactor setting of custom properties.
We currently have lots of different functions on ComputedStyle for setting registered properties in different states (resolved/unresolved, inherited/ non-inherited). This is not terribly useful, and mostly just makes the calling code much more complicated. Also, the current implementation of Variable::ApplyValue is hard to understand. This CL refactors that using the new setters on ComputedStyle. R=futhark@chromium.org Bug: 641877 Change-Id: I5fc6bed24ec5aadd469a81353dc3b4e221e0f9d1 Reviewed-on: https://chromium-review.googlesource.com/1236004 Commit-Queue: Anders Ruud <andruud@chromium.org> Reviewed-by:Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#593141}
Showing
Please register or sign in to comment