DescriptionRemove StyleResolverState::styledElement() since we can just check isHTMLElement() or isSVGElement()
StyledElement just means "HTML or SVG element" so we can just check that in the getter
and use element() in the StyleResolver. This removes one more bit of state from the
style resolver and simplifies the code.
R=eseidel@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154096
Patch Set 1 #
Total comments: 1
Patch Set 2 : Simplify further #Patch Set 3 : Add a comment #
Messages
Total messages: 7 (0 generated)
|