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

Issue 2536703002: [css-grid] Pass Grid as argument to the items' placements methods (Closed)

Created:
4 years ago by svillar
Modified:
4 years ago
CC:
chromium-reviews, jfernandez, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, Manuel Rego, leviw+renderwatch, jchaffraix+rendering, blink-reviews, eae+blinkwatch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-grid] Pass Grid as argument to the items' placements methods In order to constify computeIntrinsicLogicalWidths() it is required to constify placeItemsOnGrid() first, which is the base method of the grid items' positioning logic. The first step is to constify all the methods invoked by the latter, which basically means to pass the Grid as argument to all of them instead of directly using the m_grid attribute from LayoutGrid. This is the first patch of the two that will decouple the grid items' placement from the LayoutGrid internal state. BUG=627812 Committed: https://crrev.com/7fe7ce47eb086b9329cd5116a5d09493dac3c97e Cr-Commit-Position: refs/heads/master@{#435099}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -62 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutGrid.h View 1 1 chunk +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 16 chunks +60 lines, -57 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
svillar
4 years ago (2016-11-28 15:08:38 UTC) #2
jfernandez
If this change is kind of a intermediate step, I guess it LGTM, but I ...
4 years ago (2016-11-29 11:23:48 UTC) #3
svillar
On 2016/11/29 11:23:48, jfernandez wrote: > If this change is kind of a intermediate step, ...
4 years ago (2016-11-29 11:42:30 UTC) #4
svillar
On 2016/11/29 11:42:30, svillar wrote: > On 2016/11/29 11:23:48, jfernandez wrote: > > If this ...
4 years ago (2016-11-29 11:45:23 UTC) #5
Manuel Rego
LGTM too. https://codereview.chromium.org/2536703002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2536703002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode2062 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:2062: m_grid.setAutoRepeatTracks(autoRepeatRows, autoRepeatColumns); It still uses m_grid here, ...
4 years ago (2016-11-29 13:03:20 UTC) #6
svillar
https://codereview.chromium.org/2536703002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2536703002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode2062 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:2062: m_grid.setAutoRepeatTracks(autoRepeatRows, autoRepeatColumns); On 2016/11/29 13:03:20, Manuel Rego wrote: > ...
4 years ago (2016-11-29 18:33:29 UTC) #7
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/2536703002/1
4 years ago (2016-11-29 18:34:03 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/344316)
4 years ago (2016-11-29 18:36:46 UTC) #11
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/2536703002/20001
4 years ago (2016-11-29 19:12:02 UTC) #14
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/2536703002/20001
4 years ago (2016-11-29 19:15:50 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-29 22:55:32 UTC) #19
commit-bot: I haz the power
4 years ago (2016-11-29 22:58:38 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7fe7ce47eb086b9329cd5116a5d09493dac3c97e
Cr-Commit-Position: refs/heads/master@{#435099}

Powered by Google App Engine
This is Rietveld 408576698