Improve cosmetics in StyleResolver after CSSCascade flag removal
A few not-so-related changes: - No need to use pointers to StyleCascade anymore, since it now always exists. - Rename ApplyAnimatedStandardProperties to ApplyAnimatedStyle, since that name definitely does not make sense anymore. (Both standard and custom properties are now applied here, unlike the non-CSSCascade branch). - Rename ApplyBaseComputedStyle to ApplyBaseStyle, for "symmetry" with ApplyAnimatedStyle. (It doesn't make sense to a "apply" a "computed style" anyway: the computed style is the output of the process, not the input). - Forward declare StyleCascade in style_resolver.h, and reorder list of forward declarations. (style_cascade.h is now not included in any other header, which is nice). Change-Id: I0db1c9f3dec3e06100009848bbedaece509e5874 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2298007Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#790090}
Showing
Please register or sign in to comment