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

Issue 2649583002: [LayoutNG] Remove the ng_layout_coordinator and temporary LayoutSync method. (Closed)

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

Description

[LayoutNG] Remove the ng_layout_coordinator and temporary LayoutSync method. Algorithms now just call the Layout() method on the NGInputNode which is responsible for selecting an algorithm to produce a fragment. BUG=635619 Review-Url: https://codereview.chromium.org/2649583002 Cr-Commit-Position: refs/heads/master@{#445292} Committed: https://chromium.googlesource.com/chromium/src/+/0df262f32f773d7655aba8b5990ffbc2d04cc622

Patch Set 1 #

Patch Set 2 : fixup comments. #

Total comments: 4

Patch Set 3 : address comments. #

Patch Set 4 : rebase. #

Patch Set 5 : rebase v2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -242 lines) Patch
M third_party/WebKit/Source/core/layout/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 2 3 4 3 chunks +5 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc View 2 chunks +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.h View 1 2 3 4 chunks +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.cc View 1 2 7 chunks +12 lines, -48 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.h View 2 chunks +1 line, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc View 2 chunks +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_inline_node.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_inline_node.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h View 1 2 chunks +2 lines, -11 lines 0 comments Download
D third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.h View 1 chunk +0 lines, -38 lines 0 comments Download
D third_party/WebKit/Source/core/layout/ng/ng_layout_coordinator.cc View 1 chunk +0 lines, -53 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h View 1 2 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_legacy_block_layout_algorithm.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc View 2 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc View 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp View 2 chunks +8 lines, -14 lines 0 comments Download

Messages

Total messages: 24 (15 generated)
ikilpatrick
3 years, 11 months ago (2017-01-20 18:06:35 UTC) #4
cbiesinger
lgtm thanks! https://codereview.chromium.org/2649583002/diff/20001/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 (left): https://codereview.chromium.org/2649583002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#oldcode299 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:299: current_child_->UpdateLayoutBox(toNGPhysicalBoxFragment(child_fragment), Oh I see... this was only ...
3 years, 11 months ago (2017-01-20 21:21:56 UTC) #7
ikilpatrick
https://codereview.chromium.org/2649583002/diff/20001/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 (left): https://codereview.chromium.org/2649583002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#oldcode299 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:299: current_child_->UpdateLayoutBox(toNGPhysicalBoxFragment(child_fragment), On 2017/01/20 21:21:56, cbiesinger wrote: > Oh I ...
3 years, 11 months ago (2017-01-20 23:19:57 UTC) #8
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/2649583002/40001
3 years, 11 months ago (2017-01-20 23:20:44 UTC) #11
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-21 02:09:45 UTC) #13
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/2649583002/60001
3 years, 11 months ago (2017-01-21 05:40:27 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/368389)
3 years, 11 months ago (2017-01-21 07:18:01 UTC) #18
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/2649583002/80001
3 years, 11 months ago (2017-01-21 17:59:05 UTC) #21
commit-bot: I haz the power
3 years, 11 months ago (2017-01-21 20:05:25 UTC) #24
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/0df262f32f773d7655aba8b5990f...

Powered by Google App Engine
This is Rietveld 408576698