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

Issue 2842413003: [css-grid] Wipe SizingOperation out (Closed)

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

Description

[css-grid] Wipe SizingOperation out crrev.com/2823183003 was the first step towards removing the SizingOperation enum which was added in the past as a convenient way to modify the track sizing algorithm behaviour depending on whether the size was indefinite/definite but also on whether we were computing the grid intrinsic size or doing a layout. As mentioned in the CL above that was a mistake because indefinite sizes do not always correspond to preferred widths computations. Now that we have the algorithm in a separate class with different strategies the existence of that enum is no longer required. We can handle the remaining code path using SizingOperation just by using the algorithm strategies. No new tests required as this does not imply a change in the behaviour. Review-Url: https://codereview.chromium.org/2842413003 Cr-Commit-Position: refs/heads/master@{#468599} Committed: https://chromium.googlesource.com/chromium/src/+/8829f12bd0eb33225c2a562fa1d5c9493aadd09a

Patch Set 1 #

Patch Set 2 : refactoring #

Total comments: 2

Patch Set 3 : Fix w/o refactoring #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -12 lines) Patch
M third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.h View 2 3 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp View 2 3 chunks +1 line, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutGrid.cpp View 2 chunks +3 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (5 generated)
svillar
Sending out for review.
3 years, 7 months ago (2017-04-27 15:02:34 UTC) #2
Manuel Rego
Shouldn't this be split in 2 patches? https://codereview.chromium.org/2842413003/diff/20001/third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp File third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp (right): https://codereview.chromium.org/2842413003/diff/20001/third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp#newcode425 third_party/WebKit/Source/core/layout/GridTrackSizingAlgorithm.cpp:425: GridTrackSizingAlgorithmStrategy::ExtentForBaselineAlignment( This ...
3 years, 7 months ago (2017-04-27 16:06:49 UTC) #3
jfernandez
For me, the change lgtm but let's agree something about @rego's comment on the unrelated ...
3 years, 7 months ago (2017-04-28 08:45:01 UTC) #4
Manuel Rego
On 2017/04/28 08:45:01, jfernandez wrote: > For me, the change lgtm but let's agree something ...
3 years, 7 months ago (2017-04-28 08:59:33 UTC) #5
Manuel Rego
Thanks LGTM too.
3 years, 7 months ago (2017-05-02 09:24:44 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/2842413003/40001
3 years, 7 months ago (2017-05-02 09:25:18 UTC) #9
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 11:32:37 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8829f12bd0eb33225c2a562fa1d5...

Powered by Google App Engine
This is Rietveld 408576698