DescriptionStyleResolverParentPusher can decide if it needs to push at creation time
We can decide at creation time if the ParentPusher needs to push a parent
style to the bloom filter instead of having a push() method call inside
of each of the loops during recalcStyle.
I also removed the ASSERT and if statement (with the same check) from inside
the ParentPusher. There's no reason to guard against getting the parent stack
wrong, the stack itself already has guards against it and getting it wrong is
not a security issue (so there's no reason for an ASSERT and duplicate if).
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161770
Patch Set 1 #
Total comments: 1
Patch Set 2 : add back explicit #Patch Set 3 : rebase #Patch Set 4 : rebase #Messages
Total messages: 6 (0 generated)
|