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

Issue 2921463004: [LayoutNG] PODify NGLayoutInputNode and sub-classes. (Closed)

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

Description

[LayoutNG] PODify NGLayoutInputNode and sub-classes. This converts NGLayoutInputNode into a POD-like class. The interesting parts of this patch are: - The lifecycle of the NGInlineNodeData. - The manual v-table inside of NGLayoutInputNode. BUG=635619 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_layout_ng Review-Url: https://codereview.chromium.org/2921463004 Cr-Commit-Position: refs/heads/master@{#477023} Committed: https://chromium.googlesource.com/chromium/src/+/1656845883fb809150e98b3eb0748ea1bb663992

Patch Set 1 #

Patch Set 2 : tinker #

Total comments: 4

Patch Set 3 : tailor #

Patch Set 4 : rebase. #

Patch Set 5 : new ng-bot expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+724 lines, -711 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG View 1 2 3 4 55 chunks +119 lines, -82 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 3 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_break_token.h View 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_break_token.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc View 8 chunks +11 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm_test.cc View 3 chunks +5 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.h View 4 chunks +14 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node.cc View 8 chunks +28 lines, -43 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node_data.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node_test.cc View 11 chunks +85 lines, -82 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_line_box_fragment_builder.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.cc View 9 chunks +15 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker_test.cc View 8 chunks +16 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_physical_text_fragment.h View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_text_fragment_builder.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc View 1 2 2 chunks +4 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_base_layout_algorithm_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_break_token.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.h View 4 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator_test.cc View 3 chunks +14 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 3 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 16 chunks +32 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc View 29 chunks +30 lines, -38 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.h View 4 chunks +8 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.cc View 12 chunks +74 lines, -98 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc View 10 chunks +46 lines, -55 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_break_token.h View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_column_layout_algorithm.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_column_layout_algorithm.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_floats_utils.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h View 4 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc View 10 chunks +16 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_algorithm.h View 2 chunks +4 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h View 1 chunk +24 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.cc View 2 chunks +61 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_result.h View 2 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_space_utils_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.h View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/NGInlineLayoutTest.cpp View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 31 (23 generated)
ikilpatrick
There's still some failing tests but will probably just rebase them as its a pretty ...
3 years, 6 months ago (2017-06-01 19:23:19 UTC) #5
eae
LGTM
3 years, 6 months ago (2017-06-01 20:24:41 UTC) #8
cbiesinger
lgtm https://codereview.chromium.org/2921463004/diff/20001/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node_data.h File third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node_data.h (right): https://codereview.chromium.org/2921463004/diff/20001/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node_data.h#newcode27 third_party/WebKit/Source/core/layout/ng/inline/ng_inline_node_data.h:27: LayoutBox* next_sibling_; I think it would be good ...
3 years, 6 months ago (2017-06-01 20:47:45 UTC) #11
cbiesinger
Also I have to mention, these aren't technically PODs due to use of inheritance and ...
3 years, 6 months ago (2017-06-01 21:47:59 UTC) #12
kojii
lgtm On 2017/06/01 at 19:23:19, ikilpatrick wrote: > There's still some failing tests but will ...
3 years, 6 months ago (2017-06-02 11:51:41 UTC) #13
ikilpatrick
Yeah they were similar to the local failures i get on my mac so wasn't ...
3 years, 6 months ago (2017-06-02 15:49:25 UTC) #16
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/2921463004/80001
3 years, 6 months ago (2017-06-05 17:12:45 UTC) #28
commit-bot: I haz the power
3 years, 6 months ago (2017-06-05 18:00:19 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1656845883fb809150e98b3eb074...

Powered by Google App Engine
This is Rietveld 408576698