DescriptionDon't drop type information returned from locateRenderSVGTextAncestor
LayoutSVGText::locateRenderSVGTextAncestor returns a LayoutSVGText*, so
widening it to LayoutObject only serves to lose information - for the
primary benefit of "interface hiding".
This in turn mean that some calls can be devirtualized.
Also restructure the methods themselves to avoid stating the predicate
twice (negated and not.)
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201319
Patch Set 1 #Patch Set 2 : Rebase. #
Total comments: 2
Patch Set 3 : Dedupe. #
Messages
Total messages: 12 (5 generated)
|