Chromium Code Reviews
DescriptionMove colorFromPrimitiveValue from StyleResolverState to TextLinkColors
Break dependencies on state for resolveColorFromPrimitiveValue and move
to TextLinkColors. Also renames it to colorFromPrimitiveValue as it
no longer modifies the state.
This change moves the flag preventing currentColor styles from being
cashed out out StyleResolverState and into RenderStyle where the other
similar flags are located. It also removes the dependency on Element
and RenderStyle by having the caller pass in the current color value.
BUG=259018
TEST=No new tests, covered by existing fast/css tests
R=dglazkov@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153939
Patch Set 1 #
Total comments: 2
Patch Set 2 : #Messages
Total messages: 5 (0 generated)
|