Bug 226654

Summary: Replace invalidSnapOffsetIndex with std::optional<unsigned>
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: ScrollingAssignee: Martin Robinson <mrobinson>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, ews-watchlist, fred.wang, jamesr, luiz, simon.fraser, tonikitoo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 226630    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch none

Martin Robinson
Reported 2021-06-04 11:27:13 PDT
Using std::optional<unsigned> instead of UINT_MAX to indicate when there is no selected scroll offset will more easily prevent errors in the code.
Attachments
Patch (59.02 KB, patch)
2021-06-15 04:48 PDT, Martin Robinson
no flags
Patch (65.07 KB, patch)
2021-06-15 06:31 PDT, Martin Robinson
no flags
Radar WebKit Bug Importer
Comment 1 2021-06-11 11:28:43 PDT
Martin Robinson
Comment 2 2021-06-15 04:48:30 PDT
Martin Robinson
Comment 3 2021-06-15 06:31:57 PDT
EWS
Comment 4 2021-06-16 00:37:57 PDT
Committed r278923 (238854@main): <https://commits.webkit.org/238854@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 431432 [details].
Note You need to log in before you can comment on or make changes to this bug.