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

Issue 2561073002: [css-grid] Move Grid into GridSizingData (Closed)

Created:
4 years ago by svillar
Modified:
4 years ago
CC:
chromium-reviews, jfernandez, szager+layoutwatch_chromium.org, zoltan1, svillar, 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] Move Grid into GridSizingData The grid track sizing algorithm has been using the m_grid attribute from LayoutGrid to compute the sizes of the tracks unconditionally. However the goal is to make it work against a generic instance of the Grid class, so that the intrinsic size computation and the layout processes could be effectively decoupled. Instead of passing the Grid as a new argument to all the track sizing algorithm methods we leverage the existence of GridSizingData which is already passed to all of them. This data structure holds from now on a reference to the Grid instance so that the track sizing algorithm could use it. BUG=627812 Committed: https://crrev.com/12848de612f70226c03762ae1b7e4bcbc6d2b4a4 Cr-Commit-Position: refs/heads/master@{#438815}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -102 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutGrid.h View 5 chunks +13 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 1 50 chunks +126 lines, -95 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
svillar
Beh, I've just noticed that I hadn't sent it out for review
4 years ago (2016-12-14 10:13:16 UTC) #3
jfernandez
https://codereview.chromium.org/2561073002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2561073002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode468 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:468: Grid& m_grid; Why a reference here ? Didn't we ...
4 years ago (2016-12-14 10:41:55 UTC) #4
jfernandez
lgtm
4 years ago (2016-12-14 11:21:26 UTC) #5
svillar
Thanks for the review! https://codereview.chromium.org/2561073002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp File third_party/WebKit/Source/core/layout/LayoutGrid.cpp (right): https://codereview.chromium.org/2561073002/diff/1/third_party/WebKit/Source/core/layout/LayoutGrid.cpp#newcode468 third_party/WebKit/Source/core/layout/LayoutGrid.cpp:468: Grid& m_grid; On 2016/12/14 10:41:55, ...
4 years ago (2016-12-14 14:23:32 UTC) #6
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/2561073002/20001
4 years ago (2016-12-14 14:45:41 UTC) #9
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/199018)
4 years ago (2016-12-14 15:21:47 UTC) #11
eae
LGTM
4 years ago (2016-12-14 18:18:33 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/2561073002/20001
4 years ago (2016-12-15 10:53:20 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-15 13:12:19 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-15 13:13:57 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/12848de612f70226c03762ae1b7e4bcbc6d2b4a4
Cr-Commit-Position: refs/heads/master@{#438815}

Powered by Google App Engine
This is Rietveld 408576698