WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
201933
[LFC] Introduce UsedVerticalValues::Constraints
https://bugs.webkit.org/show_bug.cgi?id=201933
Summary
[LFC] Introduce UsedVerticalValues::Constraints
alan
Reported
2019-09-18 12:04:47 PDT
ssia
Attachments
Patch
(28.45 KB, patch)
2019-09-18 12:07 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Patch
(28.35 KB, patch)
2019-09-18 14:26 PDT
,
alan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-09-18 12:05:21 PDT
<
rdar://problem/55487485
>
alan
Comment 2
2019-09-18 12:07:25 PDT
Created
attachment 379059
[details]
Patch
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 = { })
alan
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.
alan
Comment 5
2019-09-18 14:26:29 PDT
Created
attachment 379072
[details]
Patch
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.
Top of Page
Format For Printing
XML
Clone This Bug