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

Issue 460103002: Refactor ShapeOutsideInfo so it isn't mutated for each line (Closed)

Created:
6 years, 4 months ago by Bem Jones-Bey (adobe)
Modified:
6 years, 4 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Refactor ShapeOutsideInfo so it isn't mutated for each line Encapsulate the per line state into a ShapeOutsideDeltas object. updateDeltasForContainingBlockLine has been renamed to computeDeltasForContainingBlockLine, and it returns an instance of the ShapeOutsideDeltas object for that line. This object is cached, but none of the functionality of ShapeOutsideInfo is dependant on any line specific data anymore. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180483

Patch Set 1 #

Total comments: 1

Patch Set 2 : Reorder bool members #

Patch Set 3 : Remove extra return statement #

Total comments: 2

Patch Set 4 : Update for review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -73 lines) Patch
M Source/core/rendering/FloatingObjects.cpp View 7 chunks +20 lines, -30 lines 0 comments Download
M Source/core/rendering/line/LineWidth.cpp View 2 chunks +9 lines, -9 lines 0 comments Download
M Source/core/rendering/shapes/ShapeOutsideInfo.h View 1 2 3 4 chunks +39 lines, -20 lines 0 comments Download
M Source/core/rendering/shapes/ShapeOutsideInfo.cpp View 1 2 3 1 chunk +12 lines, -14 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Bem Jones-Bey (adobe)
6 years, 4 months ago (2014-08-11 21:59:31 UTC) #1
rwlbuis
Looks mostly good to me, stated one suggestion. https://codereview.chromium.org/460103002/diff/1/Source/core/rendering/shapes/ShapeOutsideInfo.h File Source/core/rendering/shapes/ShapeOutsideInfo.h (right): https://codereview.chromium.org/460103002/diff/1/Source/core/rendering/shapes/ShapeOutsideInfo.h#newcode84 Source/core/rendering/shapes/ShapeOutsideInfo.h:84: LayoutUnit ...
6 years, 4 months ago (2014-08-12 15:20:44 UTC) #2
Bem Jones-Bey (adobe)
On 2014/08/12 15:20:44, rwlbuis wrote: > Looks mostly good to me, stated one suggestion. > ...
6 years, 4 months ago (2014-08-12 17:58:58 UTC) #3
leviw_travelin_and_unemployed
lgtm https://codereview.chromium.org/460103002/diff/40001/Source/core/rendering/shapes/ShapeOutsideInfo.h File Source/core/rendering/shapes/ShapeOutsideInfo.h (right): https://codereview.chromium.org/460103002/diff/40001/Source/core/rendering/shapes/ShapeOutsideInfo.h#newcode49 Source/core/rendering/shapes/ShapeOutsideInfo.h:49: : m_leftMarginBoxDelta(0) These constructors taking zeros aren't necessary, ...
6 years, 4 months ago (2014-08-15 22:42:10 UTC) #4
Bem Jones-Bey (adobe)
The CQ bit was checked by bjonesbe@adobe.com
6 years, 4 months ago (2014-08-15 23:28:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bjonesbe@adobe.com/460103002/60001
6 years, 4 months ago (2014-08-15 23:29:06 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-16 00:37:37 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-16 00:58:32 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/40752)
6 years, 4 months ago (2014-08-16 00:58:32 UTC) #9
Bem Jones-Bey (adobe)
The CQ bit was checked by bjonesbe@adobe.com
6 years, 4 months ago (2014-08-18 18:03:23 UTC) #10
Bem Jones-Bey (adobe)
The CQ bit was unchecked by bjonesbe@adobe.com
6 years, 4 months ago (2014-08-18 18:03:33 UTC) #11
Bem Jones-Bey (adobe)
The CQ bit was checked by bjonesbe@adobe.com
6 years, 4 months ago (2014-08-18 18:04:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bjonesbe@adobe.com/460103002/60001
6 years, 4 months ago (2014-08-18 18:05:08 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-18 18:50:29 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (60001) as 180483

Powered by Google App Engine
This is Rietveld 408576698