Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 164773008: Reduce the number of virtual calls in the noOverflowRect() method by half (Closed)

Created:
6 years, 10 months ago by atreat
Modified:
6 years, 10 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Reduce 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M Source/core/rendering/RenderBox.cpp View 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
atreat
6 years, 10 months ago (2014-02-19 16:51:11 UTC) #1
esprehn
Sweet, lgtm.
6 years, 10 months ago (2014-02-19 17:09:08 UTC) #2
atreat
The CQ bit was checked by adam.treat@samsung.com
6 years, 10 months ago (2014-02-19 19:06:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/164773008/1
6 years, 10 months ago (2014-02-19 22:01:14 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/adam.treat@samsung.com/164773008/1
6 years, 10 months ago (2014-02-19 23:07:01 UTC) #5
commit-bot: I haz the power
6 years, 10 months ago (2014-02-20 07:22:30 UTC) #6
Message was sent while issue was closed.
Change committed as 167468

Powered by Google App Engine
This is Rietveld 408576698