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

Issue 2812983002: Change NGLayoutOpportunityIterator API to work with list of exclusions (Closed)

Created:
3 years, 8 months ago by Gleb Lanbin
Modified:
3 years, 8 months ago
Reviewers:
cbiesinger, ikilpatrick
CC:
chromium-reviews, cbiesinger, 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/heads/master
Project:
chromium
Visibility:
Public.

Description

Change NGLayoutOpportunityIterator API to work with list of exclusions This updates NGLayoutOpportunityIterator API so it starts accepting the list of exclusions instead of constraint space. We need this API to implement the logic that will search for layout opportunities to place a BFC block while we have some placement pending floats. BUG=635619 Review-Url: https://codereview.chromium.org/2812983002 Cr-Commit-Position: refs/heads/master@{#464746} Committed: https://chromium.googlesource.com/chromium/src/+/1cabd22b2e8ee5e4ff1fd679bbb73c0b2542d405

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove this #

Patch Set 3 : git rebase-update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -127 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space_test.cc View 8 chunks +14 lines, -77 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_floats_utils.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.h View 1 2 3 chunks +10 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc View 1 2 2 chunks +7 lines, -30 lines 0 comments Download

Messages

Total messages: 28 (20 generated)
Gleb Lanbin
3 years, 8 months ago (2017-04-11 19:12:20 UTC) #3
cbiesinger
https://codereview.chromium.org/2812983002/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/2812983002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc#newcode145 third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc:145: this->Exclusions().get(), AvailableSize(), iter_offset); why the this->?
3 years, 8 months ago (2017-04-11 20:09:39 UTC) #11
Gleb Lanbin
PTAL https://codereview.chromium.org/2812983002/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/2812983002/diff/40001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc#newcode145 third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc:145: this->Exclusions().get(), AvailableSize(), iter_offset); On 2017/04/11 20:09:38, cbiesinger wrote: ...
3 years, 8 months ago (2017-04-11 20:21:38 UTC) #12
ikilpatrick
lgtm
3 years, 8 months ago (2017-04-14 10:40:58 UTC) #17
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/2812983002/60001
3 years, 8 months ago (2017-04-14 14:44:59 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/272222) chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 8 months ago (2017-04-14 14:47:50 UTC) #22
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/2812983002/80001
3 years, 8 months ago (2017-04-14 15:38:47 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 17:26:28 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/1cabd22b2e8ee5e4ff1fd679bbb7...

Powered by Google App Engine
This is Rietveld 408576698