RESOLVED FIXED 201933
[LFC] Introduce UsedVerticalValues::Constraints
https://bugs.webkit.org/show_bug.cgi?id=201933
Summary [LFC] Introduce UsedVerticalValues::Constraints
zalan
Reported 2019-09-18 12:04:47 PDT
ssia
Attachments
Patch (28.45 KB, patch)
2019-09-18 12:07 PDT, zalan
no flags
Patch (28.35 KB, patch)
2019-09-18 14:26 PDT, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2019-09-18 12:05:21 PDT
zalan
Comment 2 2019-09-18 12:07:25 PDT
Antti Koivisto
Comment 3 2019-09-18 12:17:10 PDT
Comment on attachment 379059 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=379059&action=review > Source/WebCore/layout/LayoutUnits.h:197 > + explicit UsedVerticalValues(Constraints constraints) > + : constraints(constraints) > + { > + } > + > + explicit UsedVerticalValues(Constraints constraints, Optional<LayoutUnit> height) > + : constraints(constraints) > + , height(height) > + { > + } You could just have one of these : UsedVerticalValues(Constraints constraints, Optional<LayoutUnit> height = { })
zalan
Comment 4 2019-09-18 12:18:04 PDT
(In reply to Antti Koivisto from comment #3) > Comment on attachment 379059 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=379059&action=review > > > Source/WebCore/layout/LayoutUnits.h:197 > > + explicit UsedVerticalValues(Constraints constraints) > > + : constraints(constraints) > > + { > > + } > > + > > + explicit UsedVerticalValues(Constraints constraints, Optional<LayoutUnit> height) > > + : constraints(constraints) > > + , height(height) > > + { > > + } > > You could just have one of these : > > UsedVerticalValues(Constraints constraints, Optional<LayoutUnit> height = { > }) Indeed.
zalan
Comment 5 2019-09-18 14:26:29 PDT
WebKit Commit Bot
Comment 6 2019-09-18 14:48:10 PDT
Comment on attachment 379072 [details] Patch Clearing flags on attachment: 379072 Committed r250056: <https://trac.webkit.org/changeset/250056>
WebKit Commit Bot
Comment 7 2019-09-18 14:48:11 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.