RESOLVED FIXED Bug 219345
Move code from AxisScrollSnapOffsets to ScrollSnapOffsetsInfo
https://bugs.webkit.org/show_bug.cgi?id=219345
Summary Move code from AxisScrollSnapOffsets to ScrollSnapOffsetsInfo
Martin Robinson
Reported 2020-11-30 03:05:51 PST
The API exposed by AxisScrollSnapOffsets is written with a one-dimensional set of scroll snap offsets in mind. Moving this code to ScrollSnapOffsetsInfo is the first step toward rewriting the API to deal with ScrollSnapOffsetsInfo, which abstracts away the implementation details of scroll snap offsets.
Attachments
Patch (51.38 KB, patch)
2020-11-30 03:15 PST, Martin Robinson
ews-feeder: commit-queue-
Patch (52.26 KB, patch)
2020-11-30 03:30 PST, Martin Robinson
no flags
Martin Robinson
Comment 1 2020-11-30 03:15:35 PST
Martin Robinson
Comment 2 2020-11-30 03:30:37 PST
Daniel Bates
Comment 3 2020-12-02 19:34:56 PST
Comment on attachment 415013 [details] Patch This patch looks good. I see a lot of opportunities to modernize the moved code and use constexpr, range for-loops, etc etc. I think I've seen different code styling for templates in other code.
Martin Robinson
Comment 4 2020-12-03 01:38:34 PST
Thanks very much for the review. I would definitely like to continue improving this code.
EWS
Comment 5 2020-12-03 01:51:05 PST
Committed r270390: <https://trac.webkit.org/changeset/270390> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415013 [details].
Radar WebKit Bug Importer
Comment 6 2020-12-03 01:52:17 PST
Note You need to log in before you can comment on or make changes to this bug.