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

Issue 2722763002: [LayoutNG] Switch NGBreakToken to being RefCounted. (Closed)

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

Description

[LayoutNG] Switch NGBreakToken to being RefCounted. After the fragmenting switch ownership of breaktokens is clearer, and this just swtiches them to being refcounted. Shouldn't have any behaviour changes. BUG=635619 Review-Url: https://codereview.chromium.org/2722763002 Cr-Commit-Position: refs/heads/master@{#454381} Committed: https://chromium.googlesource.com/chromium/src/+/e2cdb910981e41e82987ca6d46ac64633e42637d

Patch Set 1 #

Patch Set 2 : rebase. #

Patch Set 3 : add comments #

Total comments: 2

Patch Set 4 : rebase. #

Patch Set 5 : no refptrs on algorithms. #

Patch Set 6 : rebase. #

Patch Set 7 : remove comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -70 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_block_break_token.h View 2 chunks +18 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_break_token.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.h View 1 2 3 4 5 6 4 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator_test.cc View 2 chunks +19 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_break_token.h View 4 chunks +4 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc View 1 2 3 4 5 4 chunks +6 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h View 1 chunk +8 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.h View 3 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_fragment.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24 (17 generated)
ikilpatrick
3 years, 9 months ago (2017-02-28 17:11:30 UTC) #5
ikilpatrick
https://codereview.chromium.org/2722763002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.h File third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.h (right): https://codereview.chromium.org/2722763002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.h#newcode37 third_party/WebKit/Source/core/layout/ng/ng_block_child_iterator.h:37: NGBlockBreakToken* break_token_; // Not-owned as STACK_ALLOCATED. it'd be nice ...
3 years, 9 months ago (2017-02-28 17:13:13 UTC) #6
ikilpatrick
ptal :)
3 years, 9 months ago (2017-03-02 19:54:04 UTC) #15
cbiesinger
lgtm, sorry. not sure how I missed this
3 years, 9 months ago (2017-03-02 20:35:47 UTC) #17
ikilpatrick
np :)
3 years, 9 months ago (2017-03-02 20:45:20 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/2722763002/60002
3 years, 9 months ago (2017-03-02 20:52:48 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 21:30:28 UTC) #24
Message was sent while issue was closed.
Committed patchset #7 (id:60002) as
https://chromium.googlesource.com/chromium/src/+/e2cdb910981e41e82987ca6d46ac...

Powered by Google App Engine
This is Rietveld 408576698