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

Issue 2725773002: Remove NGBlockNode constructor, SetFirstChild, SetNextSibling methods (Closed)

Created:
3 years, 9 months ago by atotic
Modified:
3 years, 9 months ago
CC:
atotic+reviews_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, cbiesinger, chromium-reviews, dgrogan+ng_chromium.org, 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

Remove NGBlockNode constructor, SetFirstChild, SetNextSibling methods I've removed the NGBlockNode constructor, SetFirstChild, and SetNextSibling that were only used by tests as discussed on chat. BUG=635619 [ng_blocknode_style] Review-Url: https://codereview.chromium.org/2725773002 Cr-Commit-Position: refs/heads/master@{#454130} Committed: https://chromium.googlesource.com/chromium/src/+/7f1b8e5ae10a9dc930aedfda4c51c47e9a0c2cc9

Patch Set 1 #

Total comments: 16

Patch Set 2 : CR fixes #

Total comments: 9

Patch Set 3 : CR fixes #

Total comments: 11

Patch Set 4 : git cl web #

Unified diffs Side-by-side diffs Delta from patch set Stats (+361 lines, -494 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc View 1 2 3 22 chunks +341 lines, -455 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.h View 1 2 chunks +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.cc View 1 3 chunks +4 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc View 1 chunk +12 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
atotic
3 years, 9 months ago (2017-03-01 01:32:06 UTC) #3
Gleb Lanbin
https://codereview.chromium.org/2725773002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc (right): https://codereview.chromium.org/2725773002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc#newcode678 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc:678: #div1 { margin-bottom: 10px; width: 10px; height: 60px; writing-mode: ...
3 years, 9 months ago (2017-03-01 17:25:22 UTC) #5
ikilpatrick
https://codereview.chromium.org/2725773002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc (left): https://codereview.chromium.org/2725773002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc#oldcode105 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc:105: node->SetFirstChild(first_child); can we also remove/make private SetFirstChild now as ...
3 years, 9 months ago (2017-03-01 17:32:46 UTC) #6
atotic
ptal https://codereview.chromium.org/2725773002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc (left): https://codereview.chromium.org/2725773002/diff/1/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc#oldcode105 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc:105: node->SetFirstChild(first_child); On 2017/03/01 at 17:32:46, ikilpatrick wrote: > ...
3 years, 9 months ago (2017-03-01 18:57:13 UTC) #7
Gleb Lanbin
https://codereview.chromium.org/2725773002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc (left): https://codereview.chromium.org/2725773002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc#oldcode105 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc:105: node->SetFirstChild(first_child); can you update the description because it doesn't ...
3 years, 9 months ago (2017-03-01 19:47:44 UTC) #8
atotic
ptal https://codereview.chromium.org/2725773002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc (left): https://codereview.chromium.org/2725773002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc#oldcode105 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc:105: node->SetFirstChild(first_child); On 2017/03/01 at 19:47:44, Gleb Lanbin wrote: ...
3 years, 9 months ago (2017-03-01 20:20:39 UTC) #11
Gleb Lanbin
lgtm https://codereview.chromium.org/2725773002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc (right): https://codereview.chromium.org/2725773002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc#newcode75 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc:75: NGBlockNode* block) { NGBlockNode* node we use "node" ...
3 years, 9 months ago (2017-03-01 21:08:42 UTC) #12
dgrogan
https://codereview.chromium.org/2725773002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc File third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc (right): https://codereview.chromium.org/2725773002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc#newcode106 third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc:106: DCHECK(initial_containing_block_size.width >= LayoutUnit()); On 2017/03/01 21:08:42, Gleb Lanbin wrote: ...
3 years, 9 months ago (2017-03-01 21:25:09 UTC) #13
atotic
https://codereview.chromium.org/2725773002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc (right): https://codereview.chromium.org/2725773002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc#newcode75 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc:75: NGBlockNode* block) { On 2017/03/01 at 21:08:42, Gleb Lanbin ...
3 years, 9 months ago (2017-03-01 23:07:49 UTC) #15
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/2725773002/60001
3 years, 9 months ago (2017-03-01 23:08:21 UTC) #17
ikilpatrick
lgtm
3 years, 9 months ago (2017-03-02 00:42:57 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 01:07:20 UTC) #21
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/7f1b8e5ae10a9dc930aedfda4c51...

Powered by Google App Engine
This is Rietveld 408576698