DescriptionClean up BoxClipper
This patch refactors BoxClipper to be a little cleaner. There should be
no change in behavior.
Changes:
1) BoxClipper::pushedClip has been removed as it was deadcode.
2) LayoutBox& is now const.
3) LayoutPoint m_accumulatedOffset has been removed since it was only
needed in the constructor.
4) bool m_pushedClip has been removed in favor of checking whether the
clip type is not uninitialized.
5) roundedRects heap allocation has been moved inside the
displayItemConstructionIsDisabled check.
This has been pulled out of https://codereview.chromium.org/1193433004.
BUG=484943
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198013
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|