DescriptionReduce the number of virtual calls in the noOverflowRect() method by half
Reduce the number of virtual calls in the noOverflowRect() method by half. I've
seen this method as fairly hot in some profile runs of layout and we're currently
calling the virtual verticalScrollbarWidth method twice. This method is deeply
virtual in the sense that the two implementations of this method both call another
virtual method which in turn call yet another virtual method. Mostly this is
awkward because the scrollbar code hasn't been de-abstracted since we've merged
into one platform.
BUG=none
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167468
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|