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

Issue 2636353002: [LayoutNG] Remove the state machine from ng_out_of_flow_layout_part. (Closed)

Created:
3 years, 11 months ago by ikilpatrick
Modified:
3 years, 11 months ago
Reviewers:
cbiesinger, atotic
CC:
atotic+reviews_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, glebl+reviews_chromium.org, jchaffraix+rendering, leviw+renderwatch, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[LayoutNG] Remove the state machine from ng_out_of_flow_layout_part. This is part of removing the resumable layout code from LayoutNG. This also fixes a bug where node_space_ wasn't getting reset at the start of Layout(). BUG=635619 Review-Url: https://codereview.chromium.org/2636353002 Cr-Commit-Position: refs/heads/master@{#444602} Committed: https://chromium.googlesource.com/chromium/src/+/3c1b4a7b6e20faedb8ae1c069796a3651bdda746

Patch Set 1 #

Patch Set 2 : [LayoutNG] Remove the state machine from ng_out_of_flow_layout_part. #

Patch Set 3 : fix compile #

Total comments: 6

Patch Set 4 : .. #

Total comments: 7

Patch Set 5 : [LayoutNG] Remove the state machine from ng_out_of_flow_layout_part. #

Patch Set 6 : rename to IsContainingBlockForAbsoluteChild #

Patch Set 7 : rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -185 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 2 3 4 5 6 2 chunks +18 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.cc View 1 2 3 4 5 6 2 chunks +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h View 1 2 3 4 5 6 1 chunk +8 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.h View 1 1 chunk +6 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc View 1 2 3 4 2 chunks +85 lines, -127 lines 0 comments Download

Messages

Total messages: 45 (31 generated)
ikilpatrick
I added a bunch of comments as well.
3 years, 11 months ago (2017-01-18 17:10:34 UTC) #14
atotic
https://codereview.chromium.org/2636353002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2636353002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode398 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:398: // TODO(atotic) Need to adjust size of overflow rect ...
3 years, 11 months ago (2017-01-18 18:48:49 UTC) #17
cbiesinger
I feel like this would be easier to review if you split it up into ...
3 years, 11 months ago (2017-01-18 19:28:08 UTC) #18
ikilpatrick
https://codereview.chromium.org/2636353002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2636353002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode398 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:398: // TODO(atotic) Need to adjust size of overflow rect ...
3 years, 11 months ago (2017-01-18 19:32:13 UTC) #20
atotic
lgtm, with nits: There is also documentation that contains sample code for using NGOutOfFlowLayoutPart inside ...
3 years, 11 months ago (2017-01-18 20:02:16 UTC) #22
cbiesinger
lgtm as long as Aleks is happy, modulo comments below https://codereview.chromium.org/2636353002/diff/60001/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h File third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h (right): https://codereview.chromium.org/2636353002/diff/60001/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h#newcode47 ...
3 years, 11 months ago (2017-01-18 20:27:00 UTC) #23
ikilpatrick
aleks: updated comments, thanks for the pointer. christian: I initially just did a part for ...
3 years, 11 months ago (2017-01-18 21:32:20 UTC) #26
cbiesinger
https://codereview.chromium.org/2636353002/diff/60001/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h File third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h (right): https://codereview.chromium.org/2636353002/diff/60001/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h#newcode47 third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h:47: CORE_EXPORT bool IsContainerForAbsoluteChild( On 2017/01/18 21:32:19, ikilpatrick wrote: > ...
3 years, 11 months ago (2017-01-18 21:42:04 UTC) #27
ikilpatrick
cool, renamed.
3 years, 11 months ago (2017-01-18 22:00:02 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2636353002/100001
3 years, 11 months ago (2017-01-18 22:00:40 UTC) #31
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-18 23:20:00 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2636353002/120001
3 years, 11 months ago (2017-01-18 23:38:53 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2636353002/120001
3 years, 11 months ago (2017-01-19 02:12:26 UTC) #42
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 02:43:53 UTC) #45
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/3c1b4a7b6e20faedb8ae1c069796...

Powered by Google App Engine
This is Rietveld 408576698