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

Issue 1212293003: Clean up BoxClipper (Closed)

Created:
5 years, 5 months ago by pdr.
Modified:
5 years, 5 months ago
Reviewers:
chrishtr, jbroman
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, Rik, danakj, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, f(malita), jbroman, jchaffraix+rendering, Justin Novosad, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -34 lines) Patch
M Source/core/layout/LayoutBox.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutBox.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutTable.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutTable.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/BoxClipper.h View 1 chunk +2 lines, -6 lines 0 comments Download
M Source/core/paint/BoxClipper.cpp View 3 chunks +25 lines, -23 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItem.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/graphics/paint/DisplayItem.cpp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
pdr.
5 years, 5 months ago (2015-06-29 18:17:50 UTC) #2
chrishtr
lgtm
5 years, 5 months ago (2015-06-29 18:22:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1212293003/1
5 years, 5 months ago (2015-06-29 18:23:16 UTC) #5
danakj
Thanks for doing this separately. On Mon, Jun 29, 2015 at 11:17 AM, <pdr@chromium.org> wrote: ...
5 years, 5 months ago (2015-06-29 18:48:29 UTC) #6
commit-bot: I haz the power
5 years, 5 months ago (2015-06-29 19:45:43 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198013

Powered by Google App Engine
This is Rietveld 408576698