DescriptionDon't assume so easily that RenderStyle data can be shared.
An element can only share RenderStyle data with another element if
BOTH are cacheable. The element that's already in the cache is
obviously cacheable, but we also need to figure out whether the
element that wants to use data from the cache is cachable.
Additionally, get rid of the Element* argument from
applyMatchedProperties(), since it's already part of the state object
passed to that method.
BUG=236329
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154999
Patch Set 1 #
Total comments: 1
Messages
Total messages: 9 (0 generated)
|