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

Issue 2304993002: Fix NGBox's iterator logic (Closed)

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

Description

Fix NGBox's iterator logic: FirstChild/NextSibling should return cached values instead of generating new one every time they are called. BUG=635619 Committed: https://crrev.com/cc5ee3bd153773ff5e1b5b2ffcb4a392036d5c3d Cr-Commit-Position: refs/heads/master@{#416355}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -21 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_box.h View 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_box.cc View 2 chunks +16 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h View 4 chunks +9 lines, -1 line 3 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_fragment_base.h View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (13 generated)
Gleb Lanbin
4 years, 3 months ago (2016-09-02 19:12:23 UTC) #5
ikilpatrick
lgtm https://codereview.chromium.org/2304993002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h File third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h (right): https://codereview.chromium.org/2304993002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h#newcode113 third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h:113: String toString() const; ToString now i think?
4 years, 3 months ago (2016-09-02 20:58:48 UTC) #9
Gleb Lanbin
thanks for the review. https://codereview.chromium.org/2304993002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h File third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h (right): https://codereview.chromium.org/2304993002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h#newcode113 third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h:113: String toString() const; On 2016/09/02 ...
4 years, 3 months ago (2016-09-02 21:48:57 UTC) #12
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/2304993002/20001
4 years, 3 months ago (2016-09-02 21:50:31 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:20001)
4 years, 3 months ago (2016-09-02 21:55:43 UTC) #16
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/cc5ee3bd153773ff5e1b5b2ffcb4a392036d5c3d Cr-Commit-Position: refs/heads/master@{#416355}
4 years, 3 months ago (2016-09-02 21:58:38 UTC) #18
cbiesinger1
Lgtm https://codereview.chromium.org/2304993002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h File third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h (right): https://codereview.chromium.org/2304993002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h#newcode113 third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h:113: String toString() const; On 2016/09/02 21:48:57, glebl wrote: ...
4 years, 3 months ago (2016-09-02 22:00:11 UTC) #20
Gleb Lanbin
On 2016/09/02 22:00:11, cbiesinger1 wrote: > Lgtm > > https://codereview.chromium.org/2304993002/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h > File third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h (right): > ...
4 years, 3 months ago (2016-09-06 21:45:42 UTC) #21
eae
4 years, 3 months ago (2016-09-06 21:51:47 UTC) #22
Message was sent while issue was closed.
LGTM (post facto)

Powered by Google App Engine
This is Rietveld 408576698