Remove Style[Non]InheritedVariables::needs_resolution_
Before StyleCascade, we used to store CSSVariableData objects in need of var()-resolution on ComputedStyle, and the resolve those CSSVariableData objects "in place". There was also a performance optimization which utilized flags which told us whether or not there was any CSSVariableData object in need of resolution somewhere in Style[Non]InheritedVariables. The flags can now be removed, since all CSSVariableData objects are now resolved in StyleCascade _before_ storage on ComputedStyle. Change-Id: Ia176691bb02f6da4e3eb322b4984acf707654e4f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2372143Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#801121}
Showing
Please register or sign in to comment